From ea2f4c5572e84ba8ab33b50220b43fb903252b1e Mon Sep 17 00:00:00 2001 From: bicarus <202771338+bicarus-dev@users.noreply.github.com> Date: Tue, 2 Jun 2026 17:47:51 -0700 Subject: [PATCH] gitadora: (arena model) complain loudly about bad prop files (#729) ## Link to GitHub Issue or related Pull Request, if one exists n/a ## Description of change Refuse to load if `libaio.dll` exists but `` is set incorrectly (almost certainly because the user copied old prop files from downlevel version) ## Testing --- src/spice2x/games/gitadora/gitadora.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/spice2x/games/gitadora/gitadora.cpp b/src/spice2x/games/gitadora/gitadora.cpp index bfcf46c..89e1d5a 100644 --- a/src/spice2x/games/gitadora/gitadora.cpp +++ b/src/spice2x/games/gitadora/gitadora.cpp @@ -593,6 +593,12 @@ namespace games::gitadora { #ifdef SPICE64 // gitadora arena model auto aio = libutils::try_library("libaio.dll"); + + // before we start patching and hooking things, detect invalid configuration + if (aio != nullptr && !is_arena_model()) { + log_fatal("gitadora", "arena model i/o (libaio.dll) detected, but is not an arena model - bad prop XML files?"); + } + if (aio != nullptr) { SETUPAPI_SETTINGS settings{}; settings.class_guid[0] = 0x86E0D1E0;