dirkwhoffmann / virtualc64

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

VirtualC64 uses significant system resources when VM is stopped #763

Closed boeckmann closed 5 months ago

boeckmann commented 1 year ago

When a VM is stopped or "pause when in background" is activated and window is in background, VirtualC64 still uses a significant amount CPU time, probably because it keeps redrawing the screen or so?!? Perhaps this can be improved a bit.

Also if the VM is turned off I think the animated "white snow" should be turned off at least when in background.

dirkwhoffmann commented 5 months ago

Also if the VM is turned off I think the animated "white snow" should be turned off at least when in background.

In the next release, the white snow will stop animating when a window is in the background and "Pause emulation while in the background" is enabled in the Preferences panel.

This should reduce CPU time consumption as the texture is no longer updated after each frame.