diff --git a/external/FusionDxHook b/external/FusionDxHook index 8881bc4..22bf361 160000 --- a/external/FusionDxHook +++ b/external/FusionDxHook @@ -1 +1 @@ -Subproject commit 8881bc49d4d9afc6eeef7509a39dfe15caf15368 +Subproject commit 22bf361c69a047148e9628f70fa3e3c54266e5d7 diff --git a/source/PPSSPP.XboxRainDroplets.cpp b/source/PPSSPP.XboxRainDroplets.cpp index 3ef6cbb..ad79a22 100644 --- a/source/PPSSPP.XboxRainDroplets.cpp +++ b/source/PPSSPP.XboxRainDroplets.cpp @@ -204,14 +204,9 @@ void RenderDroplets() static XRData* pXRData = nullptr; DWORD_PTR dwResult = 0; - if (SendMessageTimeout(hWndPPSSPP, WM_USER_GET_EMULATION_STATE, 0, 0, SMTO_NORMAL, 10L, &dwResult)) + SendMessageTimeout(hWndPPSSPP, WM_USER_GET_EMULATION_STATE, 0, 0, SMTO_NORMAL, 10L, &dwResult); + if (dwResult == 1) { - if (!dwResult) - { - pXRData = nullptr; - return; - } - enum { lo, // Lower 32 bits of pointer to the base of emulated memory