From 8ad5ea2ede6c19bf3ea9f0ad0ef9c65d7982378f Mon Sep 17 00:00:00 2001 From: JosJuice Date: Sun, 12 Nov 2017 17:20:59 +0100 Subject: Call Do for every member of SCPFifoStruct individually We need this because VS currently doesn't consider std::is_trivially_copyable::type>::value to be true and because no compiler should consider it to be true if we replace the volatiles with atomics. --- Source/Core/VideoCommon/CommandProcessor.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Source/Core/VideoCommon/CommandProcessor.h') diff --git a/Source/Core/VideoCommon/CommandProcessor.h b/Source/Core/VideoCommon/CommandProcessor.h index 7257d3e861..77623357d9 100644 --- a/Source/Core/VideoCommon/CommandProcessor.h +++ b/Source/Core/VideoCommon/CommandProcessor.h @@ -38,6 +38,8 @@ struct SCPFifoStruct volatile u32 bFF_LoWatermark; volatile u32 bFF_HiWatermark; + + void DoState(PointerWrap& p); }; // This one is shared between gfx thread and emulator thread. -- cgit v1.2.3