Skip to content

Commit

Permalink
Merge pull request #5433 from leoetlino/cleanup
Browse files Browse the repository at this point in the history
Drop remnants of the plugin system
  • Loading branch information
JosJuice committed May 19, 2017
2 parents ae9cb2e + f96ab66 commit 4dce620
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 21 deletions.
8 changes: 0 additions & 8 deletions Source/Core/Common/Common.h
Expand Up @@ -87,11 +87,3 @@ enum HOST_COMM
WM_USER_SETCURSOR,
WM_USER_JOB_DISPATCH,
};

// Used for notification on emulation state
enum EMUSTATE_CHANGE
{
EMUSTATE_CHANGE_PLAY = 1,
EMUSTATE_CHANGE_PAUSE,
EMUSTATE_CHANGE_STOP
};
6 changes: 0 additions & 6 deletions Source/Core/Core/HW/Wiimote.cpp
Expand Up @@ -154,10 +154,4 @@ void DoState(PointerWrap& p)
for (int i = 0; i < MAX_BBMOTES; ++i)
static_cast<WiimoteEmu::Wiimote*>(s_config.GetController(i))->DoState(p);
}

// Notifies the plugin of a change in emulation state
void EmuStateChange(EMUSTATE_CHANGE newState)
{
WiimoteReal::StateChange(newState);
}
}
1 change: 0 additions & 1 deletion Source/Core/Core/HW/Wiimote.h
Expand Up @@ -65,7 +65,6 @@ void Pause();

unsigned int GetAttached();
void DoState(PointerWrap& p);
void EmuStateChange(EMUSTATE_CHANGE newState);
InputConfig* GetConfig();
ControllerEmu::ControlGroup* GetWiimoteGroup(int number, WiimoteEmu::WiimoteGroup group);
ControllerEmu::ControlGroup* GetNunchukGroup(int number, WiimoteEmu::NunchukGroup group);
Expand Down
5 changes: 0 additions & 5 deletions Source/Core/Core/HW/WiimoteReal/WiimoteReal.cpp
Expand Up @@ -903,11 +903,6 @@ void ConnectOnInput(int wiimote_number)
g_wiimotes_mutex.unlock();
}

void StateChange(EMUSTATE_CHANGE newState)
{
// TODO: disable/enable auto reporting, maybe
}

bool IsValidDeviceName(const std::string& name)
{
return "Nintendo RVL-CNT-01" == name || "Nintendo RVL-CNT-01-TR" == name ||
Expand Down
1 change: 0 additions & 1 deletion Source/Core/Core/HW/WiimoteReal/WiimoteReal.h
Expand Up @@ -161,7 +161,6 @@ void ControlChannel(int wiimote_number, u16 channel_id, const void* data, u32 si
void Update(int wiimote_number);
void ConnectOnInput(int wiimote_number);

void StateChange(EMUSTATE_CHANGE newState);
void ChangeWiimoteSource(unsigned int index, int source);

bool IsValidDeviceName(const std::string& name);
Expand Down

0 comments on commit 4dce620

Please sign in to comment.