mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-15 14:59:37 +00:00
Cleanup core_frame
This commit is contained in:
parent
a8408d663e
commit
3094e47820
2
core.h
2
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);
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user