mirror of https://github.com/xemu-project/xemu.git
nv2a: Use bool type for state change callback running parameter
This commit is contained in:
parent
11a680301a
commit
b97b053282
|
@ -377,7 +377,7 @@ static void qdev_nv2a_reset(DeviceState *dev)
|
|||
// Note: This is handled as a VM state change and not as a `pre_save` callback
|
||||
// because we want to halt the FIFO before any VM state is saved/restored to
|
||||
// avoid corruption.
|
||||
static void nv2a_vm_state_change(void *opaque, int running, RunState state)
|
||||
static void nv2a_vm_state_change(void *opaque, bool running, RunState state)
|
||||
{
|
||||
NV2AState *d = opaque;
|
||||
if (state == RUN_STATE_SAVE_VM) {
|
||||
|
|
Loading…
Reference in New Issue