aboutsummaryrefslogtreecommitdiff
path: root/src/libui_sdl/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libui_sdl/main.cpp')
-rw-r--r--src/libui_sdl/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libui_sdl/main.cpp b/src/libui_sdl/main.cpp
index 0066668..c3db88d 100644
--- a/src/libui_sdl/main.cpp
+++ b/src/libui_sdl/main.cpp
@@ -2675,6 +2675,8 @@ void RecreateMainWindow(bool opengl)
int main(int argc, char** argv)
{
+ freopen("miauz.txt", "w", stdout);
+
srand(time(NULL));
printf("melonDS " MELONDS_VERSION "\n");