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
|
|
@ -126,6 +126,7 @@ struct
|
|||
#define cpu_state_offset(MEMBER) ((uintptr_t)&cpu_state.MEMBER - (uintptr_t)&cpu_state - 128)
|
||||
|
||||
#define cycles cpu_state._cycles
|
||||
extern int cycles_main;
|
||||
|
||||
#define cr0 cpu_state.CR0.l
|
||||
#define msw cpu_state.CR0.w
|
||||
|
|
|
|||
Loading…
Reference in a new issue