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 `<spec>` is set incorrectly
(almost certainly because the user copied old prop files from downlevel
version)

## Testing
This commit is contained in:
bicarus
2026-06-02 17:47:51 -07:00
committed by GitHub
parent 48033816a8
commit ea2f4c5572
+6
View File
@@ -593,6 +593,12 @@ namespace games::gitadora {
#ifdef SPICE64 #ifdef SPICE64
// gitadora arena model // gitadora arena model
auto aio = libutils::try_library("libaio.dll"); 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 <spec> is not an arena model - bad prop XML files?");
}
if (aio != nullptr) { if (aio != nullptr) {
SETUPAPI_SETTINGS settings{}; SETUPAPI_SETTINGS settings{};
settings.class_guid[0] = 0x86E0D1E0; settings.class_guid[0] = 0x86E0D1E0;