File tree 1 file changed +7
-4
lines changed
1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 56
56
#else
57
57
/* A low common denominator write chunk size. On a slow
58
58
(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.
60
60
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
62
62
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
65
68
#endif
66
69
67
70
#define RASTATE_VERSION 1
You can’t perform that action at this time.
0 commit comments