mirror of
https://github.com/Mr-Wiseguy/Zelda64Recomp.git
synced 2025-02-17 06:00:06 +00:00
Fix message box being used by accident in preload_executable
This commit is contained in:
parent
c90434962f
commit
3346400775
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue