warmCabin / mm2_flicker_ender

Simulates a few of Rockman 2's key drawing routines in Lua to eliminate sprite flicker
0 stars 0 forks source link

Stale OAM when panning forwards #4

Open warmCabin opened 8 months ago

warmCabin commented 8 months ago

Rockman 2 - Dr  Wily no Nazo (Japan)-640

The script already recognizes when you're panning backwards and reenables emulator sprite rendering, so just need to apply this workaround to forward panning as well. It may also be worth looking into an immediate gui.register callback instead of emu.registerafter. Although, since flicker_ender.lua relies heavily on execution hooks, there will always be at least one frame of delay before the picture gets drawn no matter what.