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:
parent
1078037226
commit
6f010c20f5
@ -81,16 +81,10 @@ void core_start_render(uint32_t frame_ix, uint32_t num_frames)
|
|||||||
frame_ix, num_frames);
|
frame_ix, num_frames);
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool flycast_is_dumb = false;
|
|
||||||
|
|
||||||
void core_wait_end_of_render_video()
|
void core_wait_end_of_render_video()
|
||||||
{
|
{
|
||||||
if (!flycast_is_dumb) {
|
while ((system.ISTNRM & ISTNRM__END_OF_RENDER_TSP) == 0);
|
||||||
flycast_is_dumb = true;
|
system.ISTNRM = ISTNRM__END_OF_RENDER_TSP;
|
||||||
} else {
|
|
||||||
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)
|
void core_wait_end_of_render_video(uint32_t frame_ix, uint32_t num_frames)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user