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.
This commit is contained in:
JosJuice
2017-11-12 17:20:59 +01:00
parent 983b986303
commit 8ad5ea2ede
2 changed files with 28 additions and 1 deletions

View File

@ -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.