GUI: work around Android backspace issue

This commit is contained in:
tildearrow 2022-11-05 18:17:54 -05:00
parent a4fe7ddb76
commit ce08a62548
4 changed files with 28 additions and 1 deletions

View file

@ -317,6 +317,13 @@ void reportError(String what) {
logE("%s",what);
MessageBox(NULL,what.c_str(),"Furnace",MB_OK|MB_ICONERROR);
}
#elif defined(ANDROID)
void reportError(String what) {
logE("%s",what);
#ifdef HAVE_SDL2
SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR,"Error",what.c_str(),NULL);
#endif
}
#else
void reportError(String what) {
logE("%s",what);