mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
core, structural cleanup, fixes and improvements for type issues #2
This commit is contained in:
parent
5ab80df952
commit
f821bb7011
64 changed files with 140 additions and 150 deletions
|
@ -96,10 +96,6 @@ int main(int argc, char *argv[])
|
|||
|
||||
emu_init();
|
||||
|
||||
#ifdef GPERF
|
||||
ProfilerStart("gperf.out");
|
||||
#endif
|
||||
|
||||
engineState = PGS_Menu;
|
||||
|
||||
if (argc > 1)
|
||||
|
@ -142,7 +138,13 @@ int main(int argc, char *argv[])
|
|||
/* vvv fallthrough */
|
||||
|
||||
case PGS_Running:
|
||||
#ifdef GPERF
|
||||
ProfilerStart("gperf.out");
|
||||
#endif
|
||||
emu_loop();
|
||||
#ifdef GPERF
|
||||
ProfilerStop();
|
||||
#endif
|
||||
break;
|
||||
|
||||
case PGS_Quit:
|
||||
|
@ -155,9 +157,6 @@ int main(int argc, char *argv[])
|
|||
}
|
||||
|
||||
endloop:
|
||||
#ifdef GPERF
|
||||
ProfilerStop();
|
||||
#endif
|
||||
|
||||
emu_finish();
|
||||
plat_finish();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue