mirror of
https://github.com/kichikuou/xsystem35-sdl2.git
synced 2026-09-22 22:48:08 +03:00
With the blocking modal_run(), the game's main loop is frozen while a menu is open, so the flag's input-suppression and VM-pause checks are unreachable. Quit requested during a modal is now handled by closing the modal and letting it propagate through the main loop.
8 lines
119 B
C
8 lines
119 B
C
#ifndef __NT_EVENT_H__
|
|
#define __NT_EVENT_H__
|
|
|
|
extern void ntev_callback(agsevent_t *e);
|
|
|
|
|
|
#endif /* __NT_EVENT_H__ */
|