We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f432cd3 commit d51911fCopy full SHA for d51911f
1 file changed
tasks/task_save.c
@@ -53,15 +53,10 @@
53
/* Filesystem is in-memory anyway, use huge chunks since each
54
read/write is a possible suspend to JS code */
55
#define SAVE_STATE_CHUNK 4096 * 4096
56
+#elif defined(HAVE_LIBNX) || defined(_3DS)
57
+#define SAVE_STATE_CHUNK 4096 * 10
58
#else
-/* A low common denominator write chunk size. On a slow
- (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.
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
62
- even for lousy cards and supports 10MB/s, so you may prefer
63
- to double this. */
64
-#define SAVE_STATE_CHUNK 128 * 1024
+#define SAVE_STATE_CHUNK 4096
65
#endif
66
67
#define RASTATE_VERSION 1
0 commit comments