mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
nJoy: Preparation for fixing the digital pad and the analog triggers
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1928 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -319,8 +319,6 @@ THREAD_RETURN EmuThread(void *pArg)
|
||||
Callback_PeekMessages = VideoInitialize.pPeekMessages;
|
||||
g_pUpdateFPSDisplay = VideoInitialize.pUpdateFPSDisplay;
|
||||
|
||||
|
||||
|
||||
// Load and init DSPPlugin
|
||||
DSPInitialize dspInit;
|
||||
dspInit.hWnd = g_pWindowHandle;
|
||||
@ -332,8 +330,8 @@ THREAD_RETURN EmuThread(void *pArg)
|
||||
dspInit.pDebuggerBreak = Callback_DebuggerBreak;
|
||||
dspInit.pGenerateDSPInterrupt = Callback_DSPInterrupt;
|
||||
dspInit.pGetAudioStreaming = AudioInterface::Callback_GetStreaming;
|
||||
Plugins.GetDSP()->Initialize((void *)&dspInit);
|
||||
|
||||
Plugins.GetDSP()->Initialize((void *)&dspInit);
|
||||
|
||||
// Load and Init PadPlugin
|
||||
for (int i = 0; i < MAXPADS; i++)
|
||||
{
|
||||
@ -427,8 +425,10 @@ THREAD_RETURN EmuThread(void *pArg)
|
||||
// Returns after game exited
|
||||
cpuThread = NULL;
|
||||
}
|
||||
|
||||
// The hardware is uninitialized
|
||||
g_bHwInit = false;
|
||||
|
||||
|
||||
Plugins.ShutdownPlugins();
|
||||
|
||||
HW::Shutdown();
|
||||
|
Reference in New Issue
Block a user