From bf36bc2feca5f8996bbc6f6eabbbafb9eba830b1 Mon Sep 17 00:00:00 2001 From: dborth Date: Sun, 26 Dec 2010 23:16:53 +0000 Subject: [PATCH] fix paste error --- source/snes9xgx.cpp | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/source/snes9xgx.cpp b/source/snes9xgx.cpp index 3e00914..d52861c 100644 --- a/source/snes9xgx.cpp +++ b/source/snes9xgx.cpp @@ -211,24 +211,22 @@ void setFrameTimerMethod() * IOS Check ***************************************************************************/ #ifdef HW_RVL -bool SaneIOS() +bool SupportedIOS(u32 ios) { - bool SupportedIOS(u32 ios) - { - if(ios == 58 || ios == 61) - return true; + if(ios == 58 || ios == 61) + return true; + return false; +} + +bool SaneIOS(u32 ios) +{ + bool res = false; + u32 num_titles=0; + u32 tmd_size; + + if(ios > 200) return false; - } - - bool SaneIOS(u32 ios) - { - bool res = false; - u32 num_titles=0; - u32 tmd_size; - - if(ios > 200) - return false; if (ES_GetNumTitles(&num_titles) < 0) return false;