mirror of
https://github.com/holub/mame
synced 2025-04-20 15:32:45 +03:00
Fixed silly typo in neogeo driver.
This commit is contained in:
parent
f0c52b57ba
commit
5fb0d53cef
@ -99,7 +99,7 @@
|
||||
*
|
||||
*************************************/
|
||||
|
||||
static UINT8 display_poisition_interrupt_control;
|
||||
static UINT8 display_position_interrupt_control;
|
||||
static UINT32 display_counter;
|
||||
static UINT32 vblank_interrupt_pending;
|
||||
static UINT32 display_position_interrupt_pending;
|
||||
@ -167,9 +167,9 @@ static void adjust_display_position_interrupt_timer(void)
|
||||
}
|
||||
|
||||
|
||||
void neogeo_set_display_poisition_interrupt_control(UINT16 data)
|
||||
void neogeo_set_display_position_interrupt_control(UINT16 data)
|
||||
{
|
||||
display_poisition_interrupt_control = data;
|
||||
display_position_interrupt_control = data;
|
||||
}
|
||||
|
||||
|
||||
@ -187,7 +187,7 @@ void neogeo_set_display_counter_lsb(UINT16 data)
|
||||
|
||||
if (LOG_VIDEO_SYSTEM) logerror("PC %06x: set_display_counter %08x\n", activecpu_get_pc(), display_counter);
|
||||
|
||||
if (display_poisition_interrupt_control & IRQ2CTRL_LOAD_RELATIVE)
|
||||
if (display_position_interrupt_control & IRQ2CTRL_LOAD_RELATIVE)
|
||||
{
|
||||
if (LOG_VIDEO_SYSTEM) logerror("AUTOLOAD_RELATIVE ");
|
||||
adjust_display_position_interrupt_timer();
|
||||
@ -225,7 +225,7 @@ void neogeo_acknowledge_interrupt(UINT16 data)
|
||||
static TIMER_CALLBACK( display_position_interrupt_callback )
|
||||
{
|
||||
if (LOG_VIDEO_SYSTEM) logerror("--- Scanline @ %d,%d\n", video_screen_get_vpos(0), video_screen_get_hpos(0));
|
||||
if (display_poisition_interrupt_control & IRQ2CTRL_ENABLE)
|
||||
if (display_position_interrupt_control & IRQ2CTRL_ENABLE)
|
||||
{
|
||||
if (LOG_VIDEO_SYSTEM) logerror("*** Scanline interrupt (IRQ2) *** y: %02x x: %02x\n", video_screen_get_vpos(0), video_screen_get_hpos(0));
|
||||
display_position_interrupt_pending = 1;
|
||||
@ -233,7 +233,7 @@ static TIMER_CALLBACK( display_position_interrupt_callback )
|
||||
update_interrupts();
|
||||
}
|
||||
|
||||
if (display_poisition_interrupt_control & IRQ2CTRL_AUTOLOAD_REPEAT)
|
||||
if (display_position_interrupt_control & IRQ2CTRL_AUTOLOAD_REPEAT)
|
||||
{
|
||||
if (LOG_VIDEO_SYSTEM) logerror("AUTOLOAD_REPEAT ");
|
||||
adjust_display_position_interrupt_timer();
|
||||
@ -243,7 +243,7 @@ static TIMER_CALLBACK( display_position_interrupt_callback )
|
||||
|
||||
static TIMER_CALLBACK( display_position_vblank_callback )
|
||||
{
|
||||
if (display_poisition_interrupt_control & IRQ2CTRL_AUTOLOAD_VBLANK)
|
||||
if (display_position_interrupt_control & IRQ2CTRL_AUTOLOAD_VBLANK)
|
||||
{
|
||||
if (LOG_VIDEO_SYSTEM) logerror("AUTOLOAD_VBLANK ");
|
||||
adjust_display_position_interrupt_timer();
|
||||
@ -964,7 +964,7 @@ static MACHINE_START( neogeo )
|
||||
irq3_pending = 1;
|
||||
|
||||
/* register state save */
|
||||
state_save_register_global(display_poisition_interrupt_control);
|
||||
state_save_register_global(display_position_interrupt_control);
|
||||
state_save_register_global(display_counter);
|
||||
state_save_register_global(vblank_interrupt_pending);
|
||||
state_save_register_global(display_position_interrupt_pending);
|
||||
|
@ -140,7 +140,7 @@ VIDEO_UPDATE( neogeo );
|
||||
READ16_HANDLER( neogeo_video_register_r );
|
||||
WRITE16_HANDLER( neogeo_video_register_w );
|
||||
|
||||
void neogeo_set_display_poisition_interrupt_control(UINT16 data);
|
||||
void neogeo_set_display_position_interrupt_control(UINT16 data);
|
||||
|
||||
void neogeo_set_palette_bank(UINT8 data);
|
||||
void neogeo_set_screen_dark(UINT8 data);
|
||||
|
@ -799,7 +799,7 @@ static void set_video_control(UINT16 data)
|
||||
set_auto_animation_speed(data >> 8);
|
||||
set_auto_animation_disabled(data & 0x0008);
|
||||
|
||||
neogeo_set_display_poisition_interrupt_control(data & 0x00f0);
|
||||
neogeo_set_display_position_interrupt_control(data & 0x00f0);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user