From ccecebfeff47fecfce840904597d63489999d647 Mon Sep 17 00:00:00 2001 From: nmzik Date: Sat, 29 Aug 2026 13:01:57 +0400 Subject: [PATCH] loader: report unhandled host exceptions --- src/loader/runtimeLinker.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/loader/runtimeLinker.cpp b/src/loader/runtimeLinker.cpp index 3ad30d43d..6b97a02d8 100644 --- a/src/loader/runtimeLinker.cpp +++ b/src/loader/runtimeLinker.cpp @@ -801,7 +801,10 @@ static bool KytyExceptionHandler(const Common::HostException::ExceptionInfo& exc return true; } } - return false; + EXIT("Unhandled host exception: type=%u code=%u pc=0x%016" PRIx64 + " access=%u address=0x%016" PRIx64 "\n", + static_cast(info->type), info->native_code, info->exception_address, + static_cast(info->access_violation_type), info->access_violation_vaddr); } static void EncodeId64(uint16_t in_id, std::string* out_id) {