HLE: Remove an unused function
There is nothing using PanicAlert in either official titles or libogc.
This commit is contained in:
parent
51d3de6787
commit
a184ab93b6
|
@ -45,8 +45,6 @@ static const SPatch OSPatches[] = {
|
||||||
// Placeholder, OSPatches[0] is the "non-existent function" index
|
// Placeholder, OSPatches[0] is the "non-existent function" index
|
||||||
{"FAKE_TO_SKIP_0", HLE_Misc::UnimplementedFunction, HLE_HOOK_REPLACE, HLE_TYPE_GENERIC},
|
{"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()
|
// Name doesn't matter, installed in CBoot::BootUp()
|
||||||
{"HBReload", HLE_Misc::HBReload, HLE_HOOK_REPLACE, HLE_TYPE_GENERIC},
|
{"HBReload", HLE_Misc::HBReload, HLE_HOOK_REPLACE, HLE_TYPE_GENERIC},
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
|
|
||||||
#include "Common/CommonTypes.h"
|
#include "Common/CommonTypes.h"
|
||||||
#include "Common/Logging/Log.h"
|
#include "Common/Logging/Log.h"
|
||||||
#include "Common/MsgHandler.h"
|
|
||||||
#include "Core/GeckoCode.h"
|
#include "Core/GeckoCode.h"
|
||||||
#include "Core/HW/CPU.h"
|
#include "Core/HW/CPU.h"
|
||||||
#include "Core/Host.h"
|
#include "Core/Host.h"
|
||||||
|
@ -21,14 +20,6 @@ void UnimplementedFunction()
|
||||||
NPC = LR;
|
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()
|
void HBReload()
|
||||||
{
|
{
|
||||||
// There isn't much we can do. Just stop cleanly.
|
// There isn't much we can do. Just stop cleanly.
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
|
|
||||||
namespace HLE_Misc
|
namespace HLE_Misc
|
||||||
{
|
{
|
||||||
void HLEPanicAlert();
|
|
||||||
void UnimplementedFunction();
|
void UnimplementedFunction();
|
||||||
void HBReload();
|
void HBReload();
|
||||||
void GeckoCodeHandlerICacheFlush();
|
void GeckoCodeHandlerICacheFlush();
|
||||||
|
|
Loading…
Reference in New Issue