ForNeVeR / O21

FOSS remake of U95, an old submarine arcade game from 1995.
MIT License
22 stars 9 forks source link

Excessive CPU usage #114

Open ForNeVeR opened 1 year ago

ForNeVeR commented 1 year ago

Currently, the game fully eats a single CPU core. We should investigate and fix; it shouldn't do that.

ForNeVeR commented 1 year ago

SetConfigFlags(ConfigFlags.FLAG_VSYNC_HINT) improves it somewhat (from full load to 0.8%), but I still believe we can do much better, perhaps by reducing allocations where possible.