mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-16 09:21:36 +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
|
||||
return SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_INFORMATION, name, buf, NULL);
|
||||
#elif defined GEKKO
|
||||
puts(buf);
|
||||
return 0;
|
||||
#endif
|
||||
puts(buf);
|
||||
puts(" (press Return or Enter to continue)");
|
||||
|
|
|
@ -22,6 +22,10 @@ int32_t wm_ynbox(const char *name, const char *fmt, ...)
|
|||
if (r >= 0)
|
||||
return r;
|
||||
}
|
||||
#elif defined GEKKO
|
||||
puts(buf);
|
||||
puts("Assuming yes...");
|
||||
return 1;
|
||||
#endif
|
||||
|
||||
// NOTE: this is dead code for most #ifdef cases above.
|
||||
|
|
Loading…
Reference in a new issue