mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-26 15:55:31 +01:00
82c66e2bab
So, a FifoRecorder instance is instantiated as a file-local variable and used as a singleton (ugh). Most users likely don't regularly use the FIFO player/FIFO recorder, so this is kind of a substantial waste of memory. FifoRecorder's internal RAM and ExRAM vectors are 33554432 and 67108864 bytes respectively, which is around 100.66MB in total. Just on the game list view on a clean build with nothing loaded, this knocks debug build memory usage down from ~232.4MB to ~137.5MB, and release build memory usage down from ~101MB to ~5.7MB.