nv2a: Use bool type for state change callback running parameter

This commit is contained in:
Matt Borgerson 2021-04-18 22:15:43 -07:00
parent 11a680301a
commit b97b053282
1 changed files with 1 additions and 1 deletions

View File

@ -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) {