From 64b26e744c6f9b47a5366eaff5907e8f6df97bb2 Mon Sep 17 00:00:00 2001 From: ThirteenAG Date: Mon, 29 Jan 2024 15:35:30 +0800 Subject: [PATCH] update submodules --- external/FusionDxHook | 2 +- source/PPSSPP.XboxRainDroplets.cpp | 9 ++------- 2 files changed, 3 insertions(+), 8 deletions(-) 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