| 1293 | } |
| 1294 | |
| 1295 | static void Fixit1(void) { |
| 1296 | if (ScreenON || SpriteON) { |
| 1297 | uint32 rad = RefreshAddr; |
| 1298 | |
| 1299 | if ((rad & 0x7000) == 0x7000) { |
| 1300 | rad ^= 0x7000; |
| 1301 | if ((rad & 0x3E0) == 0x3A0) |
| 1302 | rad ^= 0xBA0; |
| 1303 | else if ((rad & 0x3E0) == 0x3e0) |
| 1304 | rad ^= 0x3e0; |
| 1305 | else |
| 1306 | rad += 0x20; |
| 1307 | } else |
| 1308 | rad += 0x1000; |
| 1309 | RefreshAddr = rad; |
| 1310 | } |
| 1311 | } |
| 1312 | |
| 1313 | void MMC5_hb(int); //Ugh ugh ugh. |
| 1314 | static void DoLine(void) { |
no outgoing calls
no test coverage detected