Mercurial > repos > blastem
diff render.h @ 792:724bbec47f86
Use a new fatal_error function instead of calling fprintf and exit for fatal errors. This new function more gracefully handles the case in which BlastEm was not started from a terminal or disconnected from ther terminal (Windows).
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sat, 25 Jul 2015 18:22:07 -0700 |
parents | fc68992cf18d |
children | b6842dfb8edf |
line wrap: on
line diff
--- a/render.h Sat Jul 25 18:19:00 2015 -0700 +++ b/render.h Sat Jul 25 18:22:07 2015 -0700 @@ -50,7 +50,9 @@ int render_joystick_num_hats(int joystick); int render_num_joysticks(); void process_events(); - +void render_errorbox(char *title, char *message); +void render_warnbox(char *title, char *message); +void render_infobox(char *title, char *message); #endif //RENDER_H_