summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/PostProcessing.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2017-06-15 21:19:14 -0400
committerLioncash <mathew1800@gmail.com>2017-06-19 02:47:26 -0400
commit82c66e2baba9a5fae7baecee682f52fe2ceba321 (patch)
tree681bf352ec8baad6e0f3d40c33f915e714b25daf /Source/Core/VideoCommon/PostProcessing.cpp
parent4c2b0780173f2a7b29510cd9cd63e55c3eb7df6f (diff)
FifoRecorder: Don't allocate ~100.7MB on program startup
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.
Diffstat (limited to 'Source/Core/VideoCommon/PostProcessing.cpp')
0 files changed, 0 insertions, 0 deletions