Emulated Wiimote: Enabled the roll and pitch function again (I had accidently disabled it in the last commit)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2220 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
John Peterson
2009-02-12 10:49:38 +00:00
parent b932a53b68
commit eb1c6163f7
7 changed files with 42 additions and 31 deletions

View File

@ -302,7 +302,13 @@ void Shutdown()
// Always change this variable
g_EmulatorRunning = false;
// Don't shutdown if the configuration window is still showing
// Stop debugging
#ifdef _DEBUG
DEBUG_QUIT();
#endif
// Don't shutdown the gamepad if the configuration window is still showing
// Todo: Coordinate with the Wiimote plugin, SDL_Quit() will remove the pad for it to
if (m_frame) return;
/* Close all devices carefully. We must check that we are not accessing any undefined
@ -329,10 +335,6 @@ void Shutdown()
// Remove the pointer to the initialize data
g_PADInitialize = NULL;
#ifdef _DEBUG
DEBUG_QUIT();
#endif
#ifdef _WIN32
#ifdef USE_RUMBLE_DINPUT_HACK
FreeDirectInput();