diff --git a/Source/Core/Core/HLE/HLE.cpp b/Source/Core/Core/HLE/HLE.cpp index 7cc2743e8b..1598ad1eb4 100644 --- a/Source/Core/Core/HLE/HLE.cpp +++ b/Source/Core/Core/HLE/HLE.cpp @@ -45,8 +45,6 @@ static const SPatch OSPatches[] = { // Placeholder, OSPatches[0] is the "non-existent function" index {"FAKE_TO_SKIP_0", HLE_Misc::UnimplementedFunction, HLE_HOOK_REPLACE, HLE_TYPE_GENERIC}, - {"PanicAlert", HLE_Misc::HLEPanicAlert, HLE_HOOK_REPLACE, HLE_TYPE_DEBUG}, - // Name doesn't matter, installed in CBoot::BootUp() {"HBReload", HLE_Misc::HBReload, HLE_HOOK_REPLACE, HLE_TYPE_GENERIC}, diff --git a/Source/Core/Core/HLE/HLE_Misc.cpp b/Source/Core/Core/HLE/HLE_Misc.cpp index 7523836d00..9388b16a2c 100644 --- a/Source/Core/Core/HLE/HLE_Misc.cpp +++ b/Source/Core/Core/HLE/HLE_Misc.cpp @@ -6,7 +6,6 @@ #include "Common/CommonTypes.h" #include "Common/Logging/Log.h" -#include "Common/MsgHandler.h" #include "Core/GeckoCode.h" #include "Core/HW/CPU.h" #include "Core/Host.h" @@ -21,14 +20,6 @@ void UnimplementedFunction() NPC = LR; } -// If you want a function to panic, you can rename it PanicAlert :p -// Don't know if this is worth keeping. -void HLEPanicAlert() -{ - ::PanicAlert("HLE: PanicAlert %08x", LR); - NPC = LR; -} - void HBReload() { // There isn't much we can do. Just stop cleanly. diff --git a/Source/Core/Core/HLE/HLE_Misc.h b/Source/Core/Core/HLE/HLE_Misc.h index 7bf2d8496c..fcfc9c968e 100644 --- a/Source/Core/Core/HLE/HLE_Misc.h +++ b/Source/Core/Core/HLE/HLE_Misc.h @@ -6,7 +6,6 @@ namespace HLE_Misc { -void HLEPanicAlert(); void UnimplementedFunction(); void HBReload(); void GeckoCodeHandlerICacheFlush();