Fix message box being used by accident in preload_executable

This commit is contained in:
Mr-Wiseguy 2024-07-28 22:04:14 -04:00
parent c90434962f
commit 3346400775
1 changed files with 1 additions and 1 deletions

View File

@ -448,7 +448,7 @@ bool preload_executable(PreloadContext& context) {
context.mapping_handle = CreateFileMappingW(context.handle, nullptr, PAGE_READONLY, 0, 0, nullptr);
if (context.mapping_handle == nullptr) {
recompui::message_box("Failed to create file mapping of executable!");
fprintf(stderr, "Failed to create file mapping of executable!");
CloseHandle(context.handle);
context = {};
return EXIT_FAILURE;