diff --git a/core.h b/core.h index b7bf4657a8..0543629492 100644 --- a/core.h +++ b/core.h @@ -170,7 +170,7 @@ bool core_unload_game(void); bool core_reset(void); -bool core_frame(retro_ctx_frame_info_t *info); +void core_frame(retro_ctx_frame_info_t *info); bool core_poll(void); diff --git a/core_impl.c b/core_impl.c index d644fee42f..c0106dd323 100644 --- a/core_impl.c +++ b/core_impl.c @@ -320,14 +320,13 @@ void core_set_serialization_quirks(uint64_t quirks) core_serialization_quirks_v = quirks; } -bool core_frame(retro_ctx_frame_info_t *info) +void core_frame(retro_ctx_frame_info_t *info) { - if (!info || !retro_ctx.frame_cb) - return false; + if (!retro_ctx.frame_cb) + return; retro_ctx.frame_cb( info->data, info->width, info->height, info->pitch); - return true; } bool core_poll(void)