HLE: Remove an unused function

There is nothing using PanicAlert in either official titles or libogc.
This commit is contained in:
Léo Lam 2018-02-04 14:41:55 +01:00
parent 51d3de6787
commit a184ab93b6
3 changed files with 0 additions and 12 deletions

View file

@ -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},

View file

@ -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.

View file

@ -6,7 +6,6 @@
namespace HLE_Misc
{
void HLEPanicAlert();
void UnimplementedFunction();
void HBReload();
void GeckoCodeHandlerICacheFlush();