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.
|
|
|
uint8_t | retroflat_focus_platform () |
| | Platform-specific function to get current focus flags for the generic loop.
|
|
void | retroflat_resize_v () |
| | Platform-specific function to resize virtual screen to match physical window size.
|
|
void | retroflat_timer_handle () |
| | 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
Call the quit callback if defined and only try to quit if the callback doesn't return MERROR_PREEMPT.