Implement API to terminate current emulator session from within main
emulator thread (ie soft power off).
This commit is contained in:
parent
8f04c11a76
commit
00034c1ece
10 changed files with 39 additions and 2 deletions
2
src/pc.c
2
src/pc.c
|
|
@ -489,6 +489,8 @@ void resetpchard()
|
|||
|
||||
sound_update_buf_length();
|
||||
cpu_set_turbo(1);
|
||||
|
||||
cycles = cycles_main = 0;
|
||||
}
|
||||
|
||||
char romsets[17][40]={"IBM PC","IBM XT","Generic Turbo XT","Euro PC","Tandy 1000","Amstrad PC1512","Sinclair PC200","Amstrad PC1640","IBM AT","AMI 286 clone","Dell System 200","Misc 286","IBM AT 386","Misc 386","386 clone","486 clone","486 clone 2"};
|
||||
|
|
|
|||
Loading…
Reference in a new issue