MCPcopy Create free account
hub / github.com/TASEmulators/fceux / Fixit1

Function Fixit1

src/ppu.cpp:1295–1311  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1293}
1294
1295static 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
1313void MMC5_hb(int); //Ugh ugh ugh.
1314static void DoLine(void) {

Callers 3

EndRLFunction · 0.85
RefreshLineFunction · 0.85
ppu.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected