From f12b97e98bd11bb4bee698e8eea37b7a7443787e Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sat, 16 Nov 2019 01:51:22 +1000 Subject: [PATCH] DMA: Add missing transfer_ticks to save state --- src/core/dma.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/dma.cpp b/src/core/dma.cpp index cc403c7d6..c2d038567 100644 --- a/src/core/dma.cpp +++ b/src/core/dma.cpp @@ -43,6 +43,7 @@ bool DMA::DoState(StateWrapper& sw) sw.Do(&cs.base_address); sw.Do(&cs.block_control.bits); sw.Do(&cs.channel_control.bits); + sw.Do(&cs.transfer_ticks); sw.Do(&cs.request); }