Drop remnants of the plugin system

This commit is contained in:
Léo Lam 2017-05-16 19:21:21 +02:00
parent 643b218c1d
commit f96ab66d31
5 changed files with 0 additions and 21 deletions

View File

@ -87,11 +87,3 @@ enum HOST_COMM
WM_USER_SETCURSOR, WM_USER_SETCURSOR,
WM_USER_JOB_DISPATCH, WM_USER_JOB_DISPATCH,
}; };
// Used for notification on emulation state
enum EMUSTATE_CHANGE
{
EMUSTATE_CHANGE_PLAY = 1,
EMUSTATE_CHANGE_PAUSE,
EMUSTATE_CHANGE_STOP
};

View File

@ -154,10 +154,4 @@ void DoState(PointerWrap& p)
for (int i = 0; i < MAX_BBMOTES; ++i) for (int i = 0; i < MAX_BBMOTES; ++i)
static_cast<WiimoteEmu::Wiimote*>(s_config.GetController(i))->DoState(p); 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);
}
} }

View File

@ -65,7 +65,6 @@ void Pause();
unsigned int GetAttached(); unsigned int GetAttached();
void DoState(PointerWrap& p); void DoState(PointerWrap& p);
void EmuStateChange(EMUSTATE_CHANGE newState);
InputConfig* GetConfig(); InputConfig* GetConfig();
ControllerEmu::ControlGroup* GetWiimoteGroup(int number, WiimoteEmu::WiimoteGroup group); ControllerEmu::ControlGroup* GetWiimoteGroup(int number, WiimoteEmu::WiimoteGroup group);
ControllerEmu::ControlGroup* GetNunchukGroup(int number, WiimoteEmu::NunchukGroup group); ControllerEmu::ControlGroup* GetNunchukGroup(int number, WiimoteEmu::NunchukGroup group);

View File

@ -903,11 +903,6 @@ void ConnectOnInput(int wiimote_number)
g_wiimotes_mutex.unlock(); g_wiimotes_mutex.unlock();
} }
void StateChange(EMUSTATE_CHANGE newState)
{
// TODO: disable/enable auto reporting, maybe
}
bool IsValidDeviceName(const std::string& name) bool IsValidDeviceName(const std::string& name)
{ {
return "Nintendo RVL-CNT-01" == name || "Nintendo RVL-CNT-01-TR" == name || return "Nintendo RVL-CNT-01" == name || "Nintendo RVL-CNT-01-TR" == name ||

View File

@ -161,7 +161,6 @@ void ControlChannel(int wiimote_number, u16 channel_id, const void* data, u32 si
void Update(int wiimote_number); void Update(int wiimote_number);
void ConnectOnInput(int wiimote_number); void ConnectOnInput(int wiimote_number);
void StateChange(EMUSTATE_CHANGE newState);
void ChangeWiimoteSource(unsigned int index, int source); void ChangeWiimoteSource(unsigned int index, int source);
bool IsValidDeviceName(const std::string& name); bool IsValidDeviceName(const std::string& name);