src/mess/drivers/gba.c
| r10549 | r10550 | |
| 2083 | 2083 | } |
| 2084 | 2084 | |
| 2085 | 2085 | // exiting VBL, handle interrupts and DMA triggers |
| 2086 | | if (scanline == 227) |
| 2086 | if (scanline == 224) |
| 2087 | 2087 | { |
| 2088 | // FIXME: some games are very picky with this trigger! |
| 2089 | // * Mario & Luigi SuperStar Saga loses pieces of gfx for 225-227. |
| 2090 | // * Driver 2 does not work with values > 217. |
| 2091 | // * Prince of Persia Sands of Time, Rayman Hoodlum's Revenge, Rayman 3 breaks for large |
| 2092 | // values (say > 200, but exact threshold varies). |
| 2093 | // * Scooby-Doo Unmasked and Mystery Mayhem have problems with large values (missing dialogue |
| 2094 | // text). |
| 2095 | // * Nicktoons Racign does not start with 227; and it resets before going to the race with |
| 2096 | // values > 206. |
| 2097 | // * Phil of Future does not start for values > 221. |
| 2098 | // * Sabrina Teenage Witch does not even reach the Ubi Soft logo if we use the VBL exit value |
| 2099 | // 227; it does not display title screen graphics when using 225-226; the intro is broken |
| 2100 | // with anything between 207-224. |
| 2101 | // * Anstoss Action has broken field graphics for values > 223. |
| 2102 | // However, taking smaller values breaks raster effects in a LOT of games (e.g. Castlevania |
| 2103 | // series, Final Fantasy series, Tales of Phantasia, Banjo Pilot, NES 'collections' by Hudson, |
| 2104 | // Jaleco and Technos, plus tons of racing games, which show garbage in the lower half of the |
| 2105 | // screen with smaller values). |
| 2106 | // Already choosing 224 instead of 227 makes some glitches to appear in the bottom scanlines. |
| 2107 | // Other test cases are EA Sport games (like FIFA or Madden) which have various degrees of |
| 2108 | // glitchness depending on the value used here. |
| 2109 | // More work on IRQs is definitely necessary! |
| 2088 | 2110 | int ch, ctrl; |
| 2089 | 2111 | |
| 2090 | 2112 | if (state->DISPSTAT & DISPSTAT_VBL_IRQ_EN) |