Reduce savedata init delay to 200ms

This commit is contained in:
Henrik Rydgård 2014-02-11 21:45:08 +01:00
parent caf729e01e
commit fa473da62a

View file

@ -30,8 +30,9 @@
const static float FONT_SCALE = 0.55f;
// These are rough, it seems to take at least 500ms or so to init, and shutdown depends on threads.
const static int SAVEDATA_INIT_DELAY_US = 500000;
// These are rough, it seems to take at least 100ms or so to init, and shutdown depends on threads.
// Some games seem to required slightly longer delays to work, so we try 200ms as a compromise.
const static int SAVEDATA_INIT_DELAY_US = 200000;
const static int SAVEDATA_SHUTDOWN_DELAY_US = 2000;