These are called internally from the platform API.
More...
|
| #define | retroflat_soft_quit(retval) |
| | Call the quit callback if defined and only try to quit if the callback doesn't return MERROR_PREEMPT. More...
|
| |
|
|
uint8_t | retroflat_focus_platform (void) |
| | Platform-specific function to get current focus flags for the generic loop.
|
| |
|
void | retroflat_resize_v (void) |
| | Platform-specific function to resize virtual screen to match physical window size.
|
| |
|
void | retroflat_timer_handle (void) |
| | This should be called in the API HAL on every iteration of the main loop (this is done automatically in the generic main loop).
|
| |
These are called internally from the platform API.
- Warning
- These facilitate the functioning of the RetroFlat Platform Function API internally and should not be defined or used by individual programs.
◆ retroflat_soft_quit
| #define retroflat_soft_quit |
( |
|
retval | ) |
|
Value: if( \
NULL == g_retroflat_state->
on_quit || \
g_retroflat_state->on_quit_data \
) ) { \
retroflat_quit( retval ); \
}
#define MERROR_PREEMPT
Indicates MLISP_AST_NODE can be executed again on next step iter pass.
Definition: merror.h:67
retroflat_proc_quit_t on_quit
Should be set with retroflat_set_proc_focus().
Definition: retroflt.h:1240
Call the quit callback if defined and only try to quit if the callback doesn't return MERROR_PREEMPT.