Skip to content

Commit fcd0ce6

Browse files
committed
C89 fix.
1 parent b7a1bfa commit fcd0ce6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

runloop.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -7815,9 +7815,10 @@ uint64_t core_serialization_quirks(void)
78157815
void core_reset(void)
78167816
{
78177817
runloop_state_t *runloop_st = &runloop_state;
7818-
runloop_st->last_error_code = 0;
78197818
video_driver_state_t *video_st = video_state_get_ptr();
78207819
video_st->frame_cache_data = NULL;
7820+
runloop_st->last_error_code = 0;
7821+
78217822
runloop_st->current_core.retro_reset();
78227823

78237824
if (runloop_st->last_error_code)

0 commit comments

Comments
 (0)