File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 5656#else
5757/* A low common denominator write chunk size. On a slow
5858 (speed class 6) SD card, we can write 6MB/s. That gives us
59- roughly 100KB/frame, which is rounded up to 128 KB/s .
59+ roughly 100KB/frame.
6060 This means we can write savestates with one syscall for cores
61- with less than 128KB of state. Class 10 is the standard now
61+ with less than 100KB of state. Class 10 is the standard now
6262 even for lousy cards and supports 10MB/s, so you may prefer
63- to double this. */
64- #define SAVE_STATE_CHUNK 128 * 1024
63+ to put this to 170KB. This all assumes that task_save's loop
64+ is iterated once per frame at 60 FPS; if it's updated less
65+ frequently this number could be doubled or quadrupled depending
66+ on the tickrate. */
67+ #define SAVE_STATE_CHUNK 100 * 1024
6568#endif
6669
6770#define RASTATE_VERSION 1
You can’t perform that action at this time.
0 commit comments