mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 00:59:44 -06:00
Wiimote: Configure gamepad in Wiimote plugin
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2172 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -457,11 +457,19 @@ void CPluginManager::FreeDSP()
|
||||
delete m_dsp;
|
||||
m_dsp = NULL;
|
||||
}
|
||||
void CPluginManager::FreePad(u32 pad)
|
||||
void CPluginManager::FreePad(u32 Pad)
|
||||
{
|
||||
if (pad < MAXPADS) {
|
||||
delete m_pad[pad];
|
||||
m_pad[pad] = NULL;
|
||||
if (Pad < MAXPADS) {
|
||||
delete m_pad[Pad];
|
||||
m_pad[Pad] = NULL;
|
||||
}
|
||||
}
|
||||
void CPluginManager::FreeWiimote(u32 Wiimote)
|
||||
{
|
||||
if (Wiimote < MAXWIIMOTES)
|
||||
{
|
||||
delete m_wiimote[Wiimote];
|
||||
m_wiimote[Wiimote] = NULL;
|
||||
}
|
||||
}
|
||||
///////////////////////////////////////////
|
||||
|
Reference in New Issue
Block a user