From 9dee0554f3e0bd1edaa20a926891b90cbe33e3bf Mon Sep 17 00:00:00 2001 From: ThirteenAG Date: Thu, 10 Oct 2024 14:52:19 +0800 Subject: [PATCH] update submodules --- external/hooking | 2 +- external/injector | 2 +- source/PCSX2F.XboxRainDroplets.cpp | 6 +++++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/external/hooking b/external/hooking index 62d4ff8..961c83c 160000 --- a/external/hooking +++ b/external/hooking @@ -1 +1 @@ -Subproject commit 62d4ff80e4a9c587f75bc6eaf6325e2b140bde28 +Subproject commit 961c83cc26c49ba4d0d2c73b17cd85b2421caed2 diff --git a/external/injector b/external/injector index 9da9f94..d8db011 160000 --- a/external/injector +++ b/external/injector @@ -1 +1 @@ -Subproject commit 9da9f948b5e87e7577decf2776eeeb3cb8d6fcec +Subproject commit d8db0115b5369d6fb4233b2651e0466185e73fab diff --git a/source/PCSX2F.XboxRainDroplets.cpp b/source/PCSX2F.XboxRainDroplets.cpp index 6d9abab..77de34d 100644 --- a/source/PCSX2F.XboxRainDroplets.cpp +++ b/source/PCSX2F.XboxRainDroplets.cpp @@ -211,7 +211,11 @@ void RenderDroplets() memset(pXRData, 0, 255); } else - pXRData = (XRData*)(GetEEMainMemoryStart() + GetPluginSymbolAddr("PLUGINS/PCSX2F.XboxRainDroplets.elf", "XboxRainDropletsData")); + { + auto sym = GetPluginSymbolAddr("PLUGINS/PCSX2F.XboxRainDroplets.elf", "XboxRainDropletsData"); + if (sym) + pXRData = (XRData*)(GetEEMainMemoryStart() + sym); + } } else pXRData = nullptr;