loader: report unhandled host exceptions

This commit is contained in:
nmzik
2026-08-29 13:01:57 +04:00
parent 1752f1382f
commit ccecebfeff
+4 -1
View File
@@ -801,7 +801,10 @@ static bool KytyExceptionHandler(const Common::HostException::ExceptionInfo& exc
return true; 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<unsigned>(info->type), info->native_code, info->exception_address,
static_cast<unsigned>(info->access_violation_type), info->access_violation_vaddr);
} }
static void EncodeId64(uint16_t in_id, std::string* out_id) { static void EncodeId64(uint16_t in_id, std::string* out_id) {