| Previous | 15994 Revisions | Next |
| r1293 Sunday 18th November, 2007 at 20:04:46 UTC by Wilbert Pol |
|---|
| [GAMEBOY] Improved M0 interrupt triggering. |
| [src/mess/video] | gb.c |
| r1292 | r1293 | |
|---|---|---|
| 1171 | 1171 | gb_lcd.mode = 0; |
| 1172 | 1172 | LCDSTAT &= 0xFC; |
| 1173 | 1173 | /* Generate lcd interrupt if requested */ |
| 1174 | if ( ( LCDSTAT & 0x08 ) && ! gb_lcd.line_irq && gb_lcd.delayed_line_irq ) { | |
| 1174 | if ( ! gb_lcd.mode_irq && ( LCDSTAT & 0x08 ) && | |
| 1175 | ( ( ! gb_lcd.line_irq && gb_lcd.delayed_line_irq ) || ! ( LCDSTAT & 0x40 ) ) ) { | |
| 1175 | 1176 | cpunum_set_input_line( 0, LCD_INT, HOLD_LINE ); |
| 1176 | 1177 | } |
| 1177 | 1178 | /* Check for HBLANK DMA */ |
| Previous | 15994 Revisions | Next |