From ecd845c11f7bafa370f38d4cb4fe089632419a56 Mon Sep 17 00:00:00 2001 From: dborth Date: Tue, 13 Oct 2009 04:52:28 +0000 Subject: [PATCH] minor tweaks --- source/ngc/fceugx.cpp | 3 +-- source/ngc/gcvideo.cpp | 12 ++---------- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/source/ngc/fceugx.cpp b/source/ngc/fceugx.cpp index b198065..ba0b878 100644 --- a/source/ngc/fceugx.cpp +++ b/source/ngc/fceugx.cpp @@ -259,9 +259,8 @@ int main(int argc, char *argv[]) #endif InitDeviceThread(); - VIDEO_Init(); + InitGCVideo (); // Initialize video SetupPads(); - InitGCVideo (); // Initialise video ResetVideo_Menu (); // change to menu video mode #ifdef HW_RVL diff --git a/source/ngc/gcvideo.cpp b/source/ngc/gcvideo.cpp index bd3319d..6a05cac 100644 --- a/source/ngc/gcvideo.cpp +++ b/source/ngc/gcvideo.cpp @@ -263,15 +263,6 @@ vbgetback (void *arg) return NULL; } -/**************************************************************************** - * InitVideoThread - ***************************************************************************/ -void -InitVideoThread () -{ - LWP_CreateThread (&vbthread, vbgetback, NULL, vbstack, TSTACK, 100); -} - /**************************************************************************** * copy_to_xfb * @@ -610,11 +601,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); } /****************************************************************************