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

Function ResetRL

src/ppu.cpp:1022–1032  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1020static int tofix = 0;
1021
1022static void ResetRL(uint8 *target) {
1023 memset(target, 0xFF, 256);
1024 InputScanlineHook(0, 0, 0, 0);
1025 Plinef = target;
1026 Pline = target;
1027 firsttile = 0;
1028 linestartts = timestamp * 48 + X.count;
1029 tofix = 0;
1030 FCEUPPU_LineUpdate();
1031 tofix = 1;
1032}
1033
1034static uint8 sprlinebuf[256 + 8];
1035

Callers 2

DoLineFunction · 0.85
FCEUPPU_LoopFunction · 0.85

Calls 2

InputScanlineHookFunction · 0.85
FCEUPPU_LineUpdateFunction · 0.85

Tested by

no test coverage detected