From 220b27159be853b30786824150479ea6cd9bb6ae Mon Sep 17 00:00:00 2001 From: bicarus <202771338+bicarus-dev@users.noreply.github.com> Date: Mon, 30 Mar 2026 02:31:08 -0700 Subject: [PATCH] ea3: don't treat failure from dll_entry_init as fatal (#601) ## Link to GitHub Issue or related Pull Request, if one exists fixes #600 --- src/spice2x/avs/ea3.cpp | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/spice2x/avs/ea3.cpp b/src/spice2x/avs/ea3.cpp index 077b960..78dc8e9 100644 --- a/src/spice2x/avs/ea3.cpp +++ b/src/spice2x/avs/ea3.cpp @@ -570,9 +570,17 @@ namespace avs { auto app_param = avs::core::property_search_safe(app_config, nullptr, "/param"); // call the game init - log_info("avs-ea3", "calling entry init (init code = {})", init_code_str); + log_info("avs-ea3", "calling dll_entry_init (init code = {})", init_code_str); if (!avs::game::entry_init(init_code_str.data(), app_param)) { - log_fatal("avs-ea3", "entry init failed :("); + for (size_t i = 0; i < 255; i++) { + log_warning("avs-ea3", "dll_entry_init failed :("); + } + deferredlogs::defer_error_messages({ + "dll_entry_init failed", + " init code: " + init_code_str, + " this is a fatal error that causes boot failure", + " most likely, your prop files have errors" + }); } // accommodate changes to soft id code