1- / / license:BSD-3-Clause
1+ u / license :BSD - 3 - Clause
22// copyright-holders:Aaron Giles
33/***************************************************************************
44
@@ -370,24 +370,7 @@ int running_machine::run(bool firstrun)
370370 // run the CPUs until a reset or exit
371371 m_hard_reset_pending = false;
372372 while ((!m_hard_reset_pending && !m_exit_pending ) || m_saveload_schedule != SLS_NONE )
373- {
374-
375- #ifdef __LIBRETRO__
376- //break out to LIBRETRO LOOP
377- return 0 ;
378- #endif
379- // execute CPUs if not paused
380- if (!m_paused )
381- m_scheduler .timeslice ();
382-
383- // otherwise, just pump video updates through
384- else
385- m_video -> frame_update ();
386-
387- // handle save/load
388- if (m_saveload_schedule != SLS_NONE )
389- handle_saveload ();
390- }
373+ return 0 ;
391374
392375 // and out via the exit phase
393376 m_current_phase = MACHINE_PHASE_EXIT ;
@@ -410,8 +393,6 @@ int running_machine::run(bool firstrun)
410393 return error ;
411394}
412395
413- #ifdef __LIBRETRO__
414-
415396extern void retro_finish ();
416397extern int RLOOP ;
417398extern int ENDEXEC ;
@@ -435,10 +416,8 @@ void running_machine::retro_machineexit(){
435416
436417void running_machine ::retro_loop (){
437418
438- while (RLOOP == 1 ) {
439-
440- //manager().web()->serve();
441-
419+ while (RLOOP == 1 )
420+ {
442421 // execute CPUs if not paused
443422 if (!m_paused )
444423 m_scheduler .timeslice ();
@@ -475,8 +454,6 @@ void running_machine::retro_loop(){
475454
476455}
477456
478- #endif
479-
480457//-------------------------------------------------
481458// schedule_exit - schedule a clean exit
482459//-------------------------------------------------
0 commit comments