mirror of
https://github.com/libretro/RetroArch
synced 2025-03-02 19:13:34 +00:00
increase chunk size for reads/writes under emscripten (#15845)
This commit is contained in:
parent
43105ab5c7
commit
3167529fbf
@ -62,7 +62,11 @@
|
||||
#include "../cheat_manager.h"
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_LIBNX) || defined(_3DS)
|
||||
#ifdef EMSCRIPTEN
|
||||
/* Filesystem is in-memory anyway, use huge chunks since each
|
||||
read/write is a possible suspend to JS code */
|
||||
#define SAVE_STATE_CHUNK 4096 * 4096
|
||||
#elif defined(HAVE_LIBNX) || defined(_3DS)
|
||||
#define SAVE_STATE_CHUNK 4096 * 10
|
||||
#else
|
||||
#define SAVE_STATE_CHUNK 4096
|
||||
|
Loading…
x
Reference in New Issue
Block a user