Skip to content
Browse files

Core: Remove some unused coreState funcs.

  • Loading branch information...
unknownbrackets committed May 2, 2018
1 parent 6e02771 commit 6fbd0e27bb14759558f3bc684b777baa5a4aa108
Showing with 4 additions and 17 deletions.
  1. +3 −14 Core/Core.cpp
  2. +0 −2 Core/Core.h
  3. +1 −1 Core/CoreTiming.cpp
@@ -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"

#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() {

void Core_Halt(const char *msg) {

void Core_Stop() {
@@ -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();

@@ -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");

void RestoreRegisterEvent(int event_type, const char *name, TimedCallback callback)

0 comments on commit 6fbd0e2

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.