Configuration manager now bookends the emulator - running before emulation starts and after the main window is closed.
This commit is contained in:
parent
beecfd8381
commit
172e88ed8b
6 changed files with 182 additions and 233 deletions
7
src/pc.c
7
src/pc.c
|
|
@ -242,11 +242,6 @@ void initpc(int argc, char *argv[])
|
|||
}
|
||||
}
|
||||
|
||||
keyboard_init();
|
||||
mouse_init();
|
||||
joystick_init();
|
||||
midi_init();
|
||||
|
||||
// append_filename(config_file_default, pcempath, "pcem.cfg", 511);
|
||||
|
||||
loadconfig(config_file);
|
||||
|
|
@ -279,7 +274,6 @@ void initpc(int argc, char *argv[])
|
|||
|
||||
//loadfont();
|
||||
loadnvr();
|
||||
sound_init();
|
||||
resetide();
|
||||
#if __unix
|
||||
if (cdrom_drive == -1)
|
||||
|
|
@ -558,7 +552,6 @@ void closepc()
|
|||
closevideo();
|
||||
mouse_emu_close();
|
||||
device_close_all();
|
||||
midi_close();
|
||||
}
|
||||
|
||||
/*int main()
|
||||
|
|
|
|||
Loading…
Reference in a new issue