summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/CommandProcessor.h
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2017-11-12 17:20:59 +0100
committerJosJuice <josjuice@gmail.com>2017-11-13 19:51:16 +0100
commit8ad5ea2ede6c19bf3ea9f0ad0ef9c65d7982378f (patch)
treeaa783125b9868c0e0a33537a5546daa1af011902 /Source/Core/VideoCommon/CommandProcessor.h
parent983b986303769c90248cfd2a33119b18fd612091 (diff)
Call Do for every member of SCPFifoStruct individually
We need this because VS currently doesn't consider std::is_trivially_copyable<typename std::remove_volatile<SCPFifoStruct>::type>::value to be true and because no compiler should consider it to be true if we replace the volatiles with atomics.
Diffstat (limited to 'Source/Core/VideoCommon/CommandProcessor.h')
-rw-r--r--Source/Core/VideoCommon/CommandProcessor.h2
1 files changed, 2 insertions, 0 deletions
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.