Made errors print to console as well

This commit is contained in:
Mr-Wiseguy 2024-05-26 11:25:40 -04:00
parent a9c686a6af
commit db5c6f5847

View file

@ -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);
} }