File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -519,17 +519,18 @@ extern void retro_main_loop();
519519
520520void retro_run (void )
521521{
522+ static int mfirst = 1 ;
522523 bool updated = false;
523524
524525 if (environ_cb (RETRO_ENVIRONMENT_GET_VARIABLE_UPDATE , & updated ) && updated )
525526 check_variables ();
526527
527- static int mfirst = 1 ;
528- if ( mfirst == 1 ) {
529- mfirst ++ ;
530- mmain (1 ,RPATH );
531- printf ("MAIN FIRST\n" );
532- return ;
528+ if ( mfirst == 1 )
529+ {
530+ mfirst ++ ;
531+ mmain (1 ,RPATH );
532+ printf ("MAIN FIRST\n" );
533+ return ;
533534 }
534535
535536 if (NEWGAME_FROM_OSD == 1 )
@@ -565,8 +566,6 @@ void retro_run (void)
565566 else
566567 video_cb (NULL , fb_width , fb_height , fb_pitch << LOG_PIXEL_BYTES );
567568#endif
568-
569- //co_switch(emuThread);
570569}
571570
572571bool retro_load_game (const struct retro_game_info * info )
@@ -620,10 +619,7 @@ bool retro_load_game(const struct retro_game_info *info)
620619void retro_unload_game (void )
621620{
622621 if (retro_pause == 0 )
623- {
624622 retro_pause = -1 ;
625- }
626-
627623}
628624
629625/* Stubs */
You can’t perform that action at this time.
0 commit comments