laamaa / m8c

Cross-platform M8 tracker headless client
Other
419 stars 87 forks source link

Improve idle performance and other enhancements #62

Closed bloopclick closed 2 years ago

bloopclick commented 2 years ago

The dirty flag is an alternate solution for fixing the fx palette bug, but it can still add some value since it's a more flexible way to control when frames get drawn. For example, I've used it to suppress empty oscilloscope draws while M8 is not playing, which reduces the CPU usage significantly during idle.

Debug logging can now be enabled from the make command without editing the source code: make CFLAGS=-DDEBUG_MSG

laamaa commented 2 years ago

Seems to work well, thank you!! :)