From 07b774c7dee376b7559ae7feb31f5304339d24fb Mon Sep 17 00:00:00 2001 From: hrydgard Date: Fri, 1 May 2009 08:23:25 +0000 Subject: [PATCH] debugfast build fixing. make the hle bios loading-or-not logic make sense. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3113 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Core/Src/CoreParameter.cpp | 19 ++- Source/DSPTool/DSPTool.vcproj | 159 ++++++++++++++++++++++++- Source/Dolphin.sln | 4 +- 3 files changed, 174 insertions(+), 8 deletions(-) diff --git a/Source/Core/Core/Src/CoreParameter.cpp b/Source/Core/Core/Src/CoreParameter.cpp index cc44cfcf0c..2fd55e4a31 100644 --- a/Source/Core/Core/Src/CoreParameter.cpp +++ b/Source/Core/Core/Src/CoreParameter.cpp @@ -194,13 +194,22 @@ bool SCoreStartupParameter::AutoSetup(EBootBios _BootBios) CheckMemcardPath(SConfig::GetInstance().m_strMemoryCardA, Region, true); CheckMemcardPath(SConfig::GetInstance().m_strMemoryCardB, Region, false); m_strSRAM = GC_SRAM_FILE; - m_strBios = FULL_GC_SYS_DIR + Region + DIR_SEP GC_IPL; - if (!File::Exists(m_strBios.c_str()) || SConfig::GetInstance().m_LocalCoreStartupParameter.bHLEBios) + bHLEBios = true; + if (!bWii) { - //WARN_LOG(BOOT, "BIOS file %s not found - using HLE.", m_strBios.c_str()); - bHLEBios = true; + m_strBios = FULL_GC_SYS_DIR + Region + DIR_SEP GC_IPL; + if (!SConfig::GetInstance().m_LocalCoreStartupParameter.bHLEBios) + { + if (File::Exists(m_strBios.c_str())) + { + bHLEBios = false; + } + else + { + WARN_LOG(BOOT, "BIOS file %s not found - using HLE.", m_strBios.c_str()); + } + } } - return true; } diff --git a/Source/DSPTool/DSPTool.vcproj b/Source/DSPTool/DSPTool.vcproj index 05b976bd32..38664f65b6 100644 --- a/Source/DSPTool/DSPTool.vcproj +++ b/Source/DSPTool/DSPTool.vcproj @@ -1,7 +1,7 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Source/Dolphin.sln b/Source/Dolphin.sln index 70d638e021..cbc90fb0cc 100644 --- a/Source/Dolphin.sln +++ b/Source/Dolphin.sln @@ -562,8 +562,8 @@ Global {1970D175-3DE8-4738-942A-4D98D1CDBF64}.Debug|x64.Build.0 = Debug|x64 {1970D175-3DE8-4738-942A-4D98D1CDBF64}.DebugFast|Win32.ActiveCfg = Debug|Win32 {1970D175-3DE8-4738-942A-4D98D1CDBF64}.DebugFast|Win32.Build.0 = Debug|Win32 - {1970D175-3DE8-4738-942A-4D98D1CDBF64}.DebugFast|x64.ActiveCfg = Debug|x64 - {1970D175-3DE8-4738-942A-4D98D1CDBF64}.DebugFast|x64.Build.0 = Debug|x64 + {1970D175-3DE8-4738-942A-4D98D1CDBF64}.DebugFast|x64.ActiveCfg = DebugFast|x64 + {1970D175-3DE8-4738-942A-4D98D1CDBF64}.DebugFast|x64.Build.0 = DebugFast|x64 {1970D175-3DE8-4738-942A-4D98D1CDBF64}.Release_JITIL|Win32.ActiveCfg = Release|Win32 {1970D175-3DE8-4738-942A-4D98D1CDBF64}.Release_JITIL|Win32.Build.0 = Release|Win32 {1970D175-3DE8-4738-942A-4D98D1CDBF64}.Release_JITIL|x64.ActiveCfg = Release|Win32