core: remove flycast hack

I think this was only relevant when END_OF_RENDER_VIDEO was in use;
this doesn't seem to affect flycast's END_OF_RENDER_TSP
generation. The former is definitely a flycast bug.
This commit is contained in:
Zack Buhman 2023-12-25 22:17:07 +08:00
parent 1078037226
commit 6f010c20f5

View File

@ -81,16 +81,10 @@ void core_start_render(uint32_t frame_ix, uint32_t num_frames)
frame_ix, num_frames);
}
static bool flycast_is_dumb = false;
void core_wait_end_of_render_video()
{
if (!flycast_is_dumb) {
flycast_is_dumb = true;
} else {
while ((system.ISTNRM & ISTNRM__END_OF_RENDER_TSP) == 0);
system.ISTNRM = ISTNRM__END_OF_RENDER_TSP;
}
while ((system.ISTNRM & ISTNRM__END_OF_RENDER_TSP) == 0);
system.ISTNRM = ISTNRM__END_OF_RENDER_TSP;
}
void core_wait_end_of_render_video(uint32_t frame_ix, uint32_t num_frames)