aboutsummaryrefslogtreecommitdiff
path: root/source/nds/gui.h
diff options
context:
space:
mode:
authorNebuleon Fumika2013-02-03 06:25:12 -0500
committerNebuleon Fumika2013-02-03 06:25:12 -0500
commit9b75c09a7fd7c78d8c42077478e796672fae5c1b (patch)
treef8afc9f2d41e0971f2c4d7838952bfd4f49cf88f /source/nds/gui.h
parent461f2406555faaee7191871390192d06625f5a81 (diff)
downloadsnes9x2005-9b75c09a7fd7c78d8c42077478e796672fae5c1b.tar.gz
snes9x2005-9b75c09a7fd7c78d8c42077478e796672fae5c1b.tar.bz2
snes9x2005-9b75c09a7fd7c78d8c42077478e796672fae5c1b.zip
Force waiting for a screen to be transferred (update mode 1) because otherwise the next screen can go into DMA.
Use channel 1 instead of channel 5, which must be busy for some reason.
Diffstat (limited to 'source/nds/gui.h')
-rw-r--r--source/nds/gui.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/nds/gui.h b/source/nds/gui.h
index b2eae62..9df2ad2 100644
--- a/source/nds/gui.h
+++ b/source/nds/gui.h
@@ -24,7 +24,11 @@
#include "fs_api.h"
#include "gcheat.h"
+#ifdef DS2_DMA
+#define UP_SCREEN_UPDATE_METHOD 1
+#else
#define UP_SCREEN_UPDATE_METHOD 0
+#endif
#define DOWN_SCREEN_UPDATE_METHOD 2
#define MAX_GAMEPAD_MAP 16