Skip to content

Commit f432cd3

Browse files
committed
Revert "Tweaked limit, amended comment."
This reverts commit c1bb2fd.
1 parent dab84a1 commit f432cd3

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

tasks/task_save.c

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,12 @@
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.
59+
roughly 100KB/frame, which is rounded up to 128 KB/s.
6060
This means we can write savestates with one syscall for cores
61-
with less than 100KB of state. Class 10 is the standard now
61+
with less than 128KB of state. Class 10 is the standard now
6262
even for lousy cards and supports 10MB/s, so you may prefer
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
63+
to double this. */
64+
#define SAVE_STATE_CHUNK 128 * 1024
6865
#endif
6966

7067
#define RASTATE_VERSION 1

0 commit comments

Comments
 (0)