mirror of
https://github.com/Zelda64Recomp/Zelda64Recomp.git
synced 2026-04-30 14:11:38 +00:00
Made errors print to console as well
This commit is contained in:
parent
a9c686a6af
commit
db5c6f5847
1 changed files with 1 additions and 0 deletions
|
|
@ -1477,4 +1477,5 @@ recomp::Menu recomp::get_current_menu() {
|
||||||
|
|
||||||
void recomp::message_box(const char* msg) {
|
void recomp::message_box(const char* msg) {
|
||||||
SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR, recomp::program_name.data(), msg, nullptr);
|
SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR, recomp::program_name.data(), msg, nullptr);
|
||||||
|
printf("[ERROR] %s\n", msg);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue