mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Core: Remove some unused coreState funcs.
This commit is contained in:
1 parent
6e02771591
commit
6fbd0e27bb
3 files changed
+4
-17
No files matched your search
+3
-14
@@ -28,22 +28,21 @@
|
||||
#include "thread/threadutil.h"
|
||||
#include "profiler/profiler.h"
|
||||
|
||||
#include "Common/GraphicsContext.h"
|
||||
#include "Core/Core.h"
|
||||
#include "Core/Config.h"
|
||||
#include "Core/Host.h"
|
||||
#include "Core/MemMap.h"
|
||||
#include "Core/SaveState.h"
|
||||
#include "Core/System.h"
|
||||
#include "Core/Debugger/Breakpoints.h"
|
||||
#include "Core/MIPS/MIPS.h"
|
||||
#include "Common/GraphicsContext.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
#include "Common/CommonWindows.h"
|
||||
#include "Windows/InputDevice.h"
|
||||
#endif
|
||||
|
||||
#include "Host.h"
|
||||
|
||||
#include "Core/Debugger/Breakpoints.h"
|
||||
|
||||
// Time until we stop considering the core active without user input.
|
||||
// Should this be configurable? 2 hours currently.
|
||||
@@ -86,16 +85,6 @@ void Core_NotifyLifecycle(CoreLifecycle stage) {
|
||||
}
|
||||
}
|
||||
|
||||
void Core_ErrorPause() {
|
||||
Core_UpdateState(CORE_ERROR);
|
||||
}
|
||||
|
||||
void Core_Halt(const char *msg) {
|
||||
Core_EnableStepping(true);
|
||||
ERROR_LOG(CPU, "CPU HALTED : %s",msg);
|
||||
_dbg_update_();
|
||||
}
|
||||
|
||||
void Core_Stop() {
|
||||
Core_UpdateState(CORE_POWERDOWN);
|
||||
m_StepCond.notify_all();
|
||||
|
||||
@@ -27,7 +27,6 @@ void UpdateRunLoop();
|
||||
|
||||
void Core_Run(GraphicsContext *ctx);
|
||||
void Core_Stop();
|
||||
void Core_ErrorPause();
|
||||
// For platforms that don't call Core_Run
|
||||
void Core_SetGraphicsContext(GraphicsContext *ctx);
|
||||
|
||||
@@ -50,7 +49,6 @@ enum class CoreLifecycle {
|
||||
typedef void (* CoreLifecycleFunc)(CoreLifecycle stage);
|
||||
void Core_ListenLifecycle(CoreLifecycleFunc func);
|
||||
void Core_NotifyLifecycle(CoreLifecycle stage);
|
||||
void Core_Halt(const char *msg);
|
||||
|
||||
bool Core_IsStepping();
|
||||
|
||||
|
||||
+1
-1
@@ -182,7 +182,7 @@ int RegisterEvent(const char *name, TimedCallback callback)
|
||||
void AntiCrashCallback(u64 userdata, int cyclesLate)
|
||||
{
|
||||
ERROR_LOG(SAVESTATE, "Savestate broken: an unregistered event was called.");
|
||||
Core_Halt("invalid timing events");
|
||||
Core_EnableStepping(true);
|
||||
}
|
||||
|
||||
void RestoreRegisterEvent(int event_type, const char *name, TimedCallback callback)
|
||||
|
||||
Reference in new issue
Block a user