aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Bouclet2019-10-20 09:25:05 +0200
committerBastien Bouclet2019-12-31 05:29:37 +0100
commitb0d0dd1bbeae5dac10391411baa41a4f85b54e65 (patch)
treed1b13864774a0960236e741e75a92f6e0b80ee74
parentec79b83804d9751eb9cf60502c247297ceae061b (diff)
downloadscummvm-rg350-b0d0dd1bbeae5dac10391411baa41a4f85b54e65.tar.gz
scummvm-rg350-b0d0dd1bbeae5dac10391411baa41a4f85b54e65.tar.bz2
scummvm-rg350-b0d0dd1bbeae5dac10391411baa41a4f85b54e65.zip
3DS: Enable GDB host IO
-rw-r--r--backends/platform/3ds/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/backends/platform/3ds/main.cpp b/backends/platform/3ds/main.cpp
index 6e33253c08..4179967178 100644
--- a/backends/platform/3ds/main.cpp
+++ b/backends/platform/3ds/main.cpp
@@ -33,6 +33,8 @@ int main(int argc, char *argv[]) {
romfsInit();
osSetSpeedupEnable(true);
// consoleInit(GFX_TOP, NULL);
+ gdbHioDevInit();
+ gdbHioDevRedirectStdStreams(true, true, true);
#ifdef USE_LIBCURL
const uint32 soc_sharedmem_size = 0x10000;
@@ -60,6 +62,7 @@ int main(int argc, char *argv[]) {
#ifdef USE_LIBCURL
socExit();
#endif
+ gdbHioDevExit();
romfsExit();
cfguExit();
gfxExit();