From 176c4c95bd9c2fb4989e225bc8bae648b5f270ea Mon Sep 17 00:00:00 2001 From: dborth Date: Thu, 21 May 2009 05:56:45 +0000 Subject: [PATCH] fix black screen home button issue --- readme.txt | 8 ++------ source/ngc/input.cpp | 4 ++-- source/ngc/vbasupport.cpp | 6 +----- 3 files changed, 5 insertions(+), 13 deletions(-) diff --git a/readme.txt b/readme.txt index 39c8299..02bae41 100644 --- a/readme.txt +++ b/readme.txt @@ -156,7 +156,7 @@ With it you can play GBA/Game Boy Color/Game Boy games on your Wii/GameCube. [1.0.1 - September 18, 2008] * GBA games now run at full speed -* Menu improvements, with spiffy new background - thanks brakken! +* Menu improvements, with spiffy new background * Fixed L/R buttons - they work now [1.0.0 - September 16, 2008] @@ -209,8 +209,7 @@ Gamecube: -------------------------------- You can load VBAGX via sdload and an SD card in slot A, or by streaming it to your Gamecube, or by booting a bootable DVD with VBAGX on it. -This document doesn't cover how to do any of that. A good source for information -on these topics is the tehskeen forums: http://www.tehskeen.com/forums/ +This document doesn't cover how to do any of that. ח–­—–­—–­—–­ –­—–­—–­—–­—–­—–­—–­—–­—–­—–­— ­—–­—–­—–­—–­—–­—–­—–­—-­—–­-–•Ĵ |0O×ĝo· INSTRUCTIONS ·oĝ×O0| @@ -825,8 +824,5 @@ right analog stick = fast forward VBAGX Web Site http://code.google.com/p/vba-wii - - TehSkeen Support Forums - http://www.tehskeen.net ¸,ĝ¤°`°¤ĝ,¸¸,ĝ¤°`°¤ĝ,¸,ĝ¤°`°¤ĝ,¸¸,ĝ¤°`°¤ĝ,¸,ĝ¤°`°¤ĝ,¸¸,ĝ¤°`°¤ĝ,¸,ĝ¤°`°¤ĝ,¸¸,ĝ¤ diff --git a/source/ngc/input.cpp b/source/ngc/input.cpp index 6e74450..40710ad 100644 --- a/source/ngc/input.cpp +++ b/source/ngc/input.cpp @@ -889,8 +889,8 @@ u32 GetJoy(int pad) // request to go back to menu if ( (userInput[pad].pad.substickX < -70) || - (userInput[pad].wpad.btns_d & WPAD_BUTTON_HOME) || - (userInput[pad].wpad.btns_d & WPAD_CLASSIC_BUTTON_HOME) || + (userInput[pad].wpad.btns_h & WPAD_BUTTON_HOME) || + (userInput[pad].wpad.btns_h & WPAD_CLASSIC_BUTTON_HOME) || (DownUsbKeys[KB_ESC]) ) { diff --git a/source/ngc/vbasupport.cpp b/source/ngc/vbasupport.cpp index 43e3ef4..257b0fd 100644 --- a/source/ngc/vbasupport.cpp +++ b/source/ngc/vbasupport.cpp @@ -14,11 +14,7 @@ #include #include #include - -extern "C" { -long long gettime(); -u32 diff_usec(long long start,long long end); -} +#include #include "pngu/pngu.h"