mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-23 23:50:40 +00:00
Wii: Add non-interactive cases to wm_msgbox and wm_ynbox.
git-svn-id: https://svn.eduke32.com/eduke32@4825 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
30407c8e87
commit
0869194b60
2 changed files with 7 additions and 0 deletions
|
@ -182,6 +182,9 @@ int32_t wm_msgbox(const char *name, const char *fmt, ...)
|
||||||
}
|
}
|
||||||
# endif
|
# endif
|
||||||
return SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_INFORMATION, name, buf, NULL);
|
return SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_INFORMATION, name, buf, NULL);
|
||||||
|
#elif defined GEKKO
|
||||||
|
puts(buf);
|
||||||
|
return 0;
|
||||||
#endif
|
#endif
|
||||||
puts(buf);
|
puts(buf);
|
||||||
puts(" (press Return or Enter to continue)");
|
puts(" (press Return or Enter to continue)");
|
||||||
|
|
|
@ -22,6 +22,10 @@ int32_t wm_ynbox(const char *name, const char *fmt, ...)
|
||||||
if (r >= 0)
|
if (r >= 0)
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
|
#elif defined GEKKO
|
||||||
|
puts(buf);
|
||||||
|
puts("Assuming yes...");
|
||||||
|
return 1;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// NOTE: this is dead code for most #ifdef cases above.
|
// NOTE: this is dead code for most #ifdef cases above.
|
||||||
|
|
Loading…
Reference in a new issue