dirkwhoffmann / virtualc64

VirtualC64 is a cycle-accurate C64 emulator for macOS
https://dirkwhoffmann.github.io/virtualc64
Other
342 stars 33 forks source link

Headless mode is too aggressive #786

Closed dirkwhoffmann closed 1 month ago

dirkwhoffmann commented 4 months ago

Until now, headless mode was only used to accelerate the emulator in warp mode. This worked well because warp mode is usually enabled only during load or save operations. Combining headless mode with run-ahead mode proves it to be too aggressive. I.e., it skips the sprite drawing routine, which disables sprite collision checking, thus breaking run-ahead mode.

TODO: Either disable headless mode in the run-ahead code or make headless mode less aggressive by only skipping the last pixel synthesis stage.

dirkwhoffmann commented 1 month ago

Headless is no longer used in fast-forward code