Works perfectly, this is awesome, code cleanup and pull request incoming.
Here's a working build in the mean time:https://ufile.io/2h7up0ic
Did some more testing, it's the small things that are surprisingly impressive. Quicker load times on menus, toe jam and Earl goes to map twice as fast. Less lag in tight situations, splatter house 2 turn around ghosts cause no lag at all. Quite an improvement. So far the only game I've found to have an issue is earthworm Jim, slight hiccups in the audio.
Sorgelig, points at which Sonic 2 lags:
Losing too many rings
Tubes on chemical plant zone
Water rising on chemical pz