From 2533738495ca834f38ac67a2b1dc7d36bd1cd40b Mon Sep 17 00:00:00 2001 From: dborth Date: Tue, 13 Oct 2009 04:56:38 +0000 Subject: [PATCH] minor tweaks --- source/ngc/snes9xGX.cpp | 4 +--- source/ngc/video.cpp | 12 ++---------- 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/source/ngc/snes9xGX.cpp b/source/ngc/snes9xGX.cpp index 8120872..3d95cc9 100644 --- a/source/ngc/snes9xGX.cpp +++ b/source/ngc/snes9xGX.cpp @@ -378,11 +378,9 @@ main(int argc, char *argv[]) #endif InitDeviceThread(); - VIDEO_Init(); - SetupPads(); - InitGCVideo(); // Initialise video ResetVideo_Menu (); // change to menu video mode + SetupPads(); #ifdef HW_RVL // Wii Power/Reset buttons diff --git a/source/ngc/video.cpp b/source/ngc/video.cpp index fc4096b..2b258ee 100644 --- a/source/ngc/video.cpp +++ b/source/ngc/video.cpp @@ -289,15 +289,6 @@ vbgetback (void *arg) return NULL; } -/**************************************************************************** - * InitVideoThread - ***************************************************************************/ -void -InitVideoThread () -{ - LWP_CreateThread (&vbthread, vbgetback, NULL, vbstack, TSTACK, 100); -} - /**************************************************************************** * copy_to_xfb * @@ -572,11 +563,12 @@ static void SetupVideoMode(GXRModeObj * mode) void InitGCVideo () { + VIDEO_Init(); GXRModeObj *rmode = FindVideoMode(); SetupVideoMode(rmode); StartGX (); InitLUTs(); // init LUTs for hq2x - InitVideoThread (); + LWP_CreateThread (&vbthread, vbgetback, NULL, vbstack, TSTACK, 68); } /****************************************************************************