Drop remnants of the plugin system
This commit is contained in:
parent
643b218c1d
commit
f96ab66d31
|
@ -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
|
|
||||||
};
|
|
||||||
|
|
|
@ -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);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -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 ||
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue