nv2a: Add puserdac.palette to vmstate

This commit is contained in:
Matt Borgerson 2022-01-12 01:12:53 -07:00 committed by mborgerson
parent 1b5b14f8ba
commit 27afd42164
1 changed files with 2 additions and 0 deletions

View File

@ -561,6 +561,8 @@ static const VMStateDescription vmstate_nv2a = {
VMSTATE_UINT64(pramdac.core_clock_freq, NV2AState),
VMSTATE_UINT32(pramdac.memory_clock_coeff, NV2AState),
VMSTATE_UINT32(pramdac.video_clock_coeff, NV2AState),
VMSTATE_UINT16(puserdac.write_mode_address, NV2AState),
VMSTATE_UINT8_ARRAY(puserdac.palette, NV2AState, 256*3),
VMSTATE_BOOL(pgraph.waiting_for_flip, NV2AState),
VMSTATE_BOOL(pgraph.waiting_for_nop, NV2AState),
VMSTATE_UNUSED(1),