dolphin/Source/Core/Common
Lioncash 4ae4b241ec ChunkFile: Handle bool in a stable way across platforms
bool is not always guaranteed to be the same size on every platform.
On some platforms it may be one byte, on others it can be 8 bytes if the
platform dictates it. It's implementation-defined.

This can be problematic when it comes to storing this
data to disk (it can also be space-inefficient, but that's not really an
issue). Also say for some reason you moved your savestates to another
platform, it's possible they won't load correctly due to differences in size.

This change stores all bools to savestates as if they were a byte in size
and handles the loading of them accordingly.
2016-04-14 22:55:03 -04:00
..
Crypto More asterisks 2016-01-21 21:16:51 +01:00
GL EGL: Also check for higher GL versions. 2016-03-01 07:55:57 +01:00
Logging A few more asterisks, mostly casts 2016-01-21 22:20:22 +01:00
Arm64Emitter.cpp JitArm64: Implement mulhwx 2016-03-04 22:51:46 +01:00
Arm64Emitter.h JitArm64: Implement mulhwx 2016-03-04 22:51:46 +01:00
ArmCommon.h
ArmCPUDetect.cpp Including missing headers required for non-pch builds and other architectures 2015-12-22 18:20:48 -06:00
Assert.h Mark more strings for translation 2015-11-20 11:33:47 +01:00
Atomic_GCC.h Fix building with PCH disabled. 2015-09-28 11:51:08 -05:00
Atomic_Win32.h
Atomic.h
BitField.h Merge pull request #2738 from lioncash/bitfield 2015-10-03 18:21:24 -07:00
BitField.natvis Correct capitalization of 'Visual Studio' 2015-11-02 17:12:09 +13:00
BitSet.h Add missing include, this was previously masked by PCH usage 2016-02-15 09:48:22 -08:00
BlockingLoop.h
BreakPoints.cpp More asterisks 2016-01-21 21:16:51 +01:00
BreakPoints.h More asterisks 2016-01-21 21:16:51 +01:00
CDUtils.cpp Common: asterisks go against the type name 2016-01-21 20:46:25 +01:00
CDUtils.h
ChunkFile.h ChunkFile: Handle bool in a stable way across platforms 2016-04-14 22:55:03 -04:00
CMakeLists.txt CMakeLists cleanup and enable Android headless building. 2016-02-05 11:24:11 -06:00
CodeBlock.h More asterisks 2016-01-21 21:16:51 +01:00
ColorUtil.cpp More asterisks 2016-01-21 21:16:51 +01:00
ColorUtil.h
Common.h Common: asterisks go against the type name 2016-01-21 20:46:25 +01:00
Common.vcxproj Add support for GL 4.3 2016-02-14 20:35:38 -06:00
Common.vcxproj.filters Add support for GL 4.3 2016-02-14 20:35:38 -06:00
CommonFuncs.h Merge pull request #1474 from phire/DSPHLE_cleanups 2015-11-24 13:33:59 +13:00
CommonPaths.h Add support for sending game memory changes to outside processes 2015-12-29 17:59:16 -08:00
CommonTypes.h
CPUDetect.h
DebugInterface.h Common: asterisks go against the type name 2016-01-21 20:46:25 +01:00
ENetUtil.cpp
ENetUtil.h
Event.h
FifoQueue.h More asterisks 2016-01-21 21:16:51 +01:00
FileSearch.cpp FileSearch: Don't use RegExs, just do string comparisons. 2015-09-27 13:25:51 -04:00
FileSearch.h FileSearch: Don't use RegExs, just do string comparisons. 2015-09-27 13:25:51 -04:00
FileUtil.cpp Correct ampersands as well 2016-01-21 21:27:56 +01:00
FileUtil.h Correct ampersands as well 2016-01-21 21:27:56 +01:00
FixedSizeQueue.h Correct ampersands as well 2016-01-21 21:27:56 +01:00
Flag.h
FPURoundMode.h
GekkoDisassembler.cpp Fix some very minor spelling mistakes 2016-02-19 01:48:10 +00:00
GekkoDisassembler.h
GenericCPUDetect.cpp
GenericFPURoundMode.cpp
Hash.cpp A few more asterisks, mostly casts 2016-01-21 22:20:22 +01:00
Hash.h More asterisks 2016-01-21 21:16:51 +01:00
IniFile.cpp
IniFile.h IniFile: Initialize with default value if key does not exist. 2016-01-13 22:51:53 +01:00
Intrinsics.h
JitRegister.cpp Linux: detect perf and default map dir to /tmp 2015-10-10 16:42:53 +02:00
JitRegister.h
LinearDiskCache.h Correct ampersands as well 2016-01-21 21:27:56 +01:00
make_scmrev.h.js
MathUtil.cpp Correct ampersands as well 2016-01-21 21:27:56 +01:00
MathUtil.h MathUtilTest: Fix tests on MSVC - Document compiler bug 2016-04-03 19:16:47 -04:00
MemArena.cpp More asterisks 2016-01-21 21:16:51 +01:00
MemArena.h More asterisks 2016-01-21 21:16:51 +01:00
MemoryUtil.cpp Common: asterisks go against the type name 2016-01-21 20:46:25 +01:00
MemoryUtil.h
Misc.cpp
MsgHandler.cpp Mark more strings for translation 2015-11-20 11:33:47 +01:00
MsgHandler.h Mark more strings for translation 2015-11-20 11:33:47 +01:00
NandPaths.cpp Correct ampersands as well 2016-01-21 21:27:56 +01:00
NandPaths.h Mark which Wii root to use in the NAND path code. 2015-10-16 09:10:39 +02:00
Network.cpp Common: Use C++ random generator for generating MAC addresses 2016-01-31 23:52:47 +10:00
Network.h
NonCopyable.h Common: Move NonCopyable to its own header 2015-09-26 18:50:35 -04:00
PcapFile.cpp
PcapFile.h Common: Move NonCopyable to its own header 2015-09-26 18:50:35 -04:00
PerformanceCounter.cpp
PerformanceCounter.h
Profiler.cpp
Profiler.h
SCMRevGen.vcxproj Run system native CScript 2016-01-14 00:37:11 +01:00
ScopeGuard.h SaveState: Fix for race condition ("wait" didn't actually waited for file to flush/close). 2015-09-27 21:40:32 +03:00
SDCardUtil.cpp Common: Remove other Common prefixed headers from Common.h 2015-09-26 18:51:58 -04:00
SDCardUtil.h
SettingsHandler.cpp More asterisks 2016-01-21 21:16:51 +01:00
SettingsHandler.h More asterisks 2016-01-21 21:16:51 +01:00
StringUtil.cpp Correct ampersands as well 2016-01-21 21:27:56 +01:00
StringUtil.h Correct ampersands as well 2016-01-21 21:27:56 +01:00
SymbolDB.cpp Correct ampersands as well 2016-01-21 21:27:56 +01:00
SymbolDB.h Correct ampersands as well 2016-01-21 21:27:56 +01:00
SysConf.cpp Move SetData logic to within SysConf.cpp 2016-02-28 19:42:15 -05:00
SysConf.h More asterisks 2016-01-21 21:16:51 +01:00
Thread.cpp Thread: Limit thread name to 15 bytes on linux. 2016-01-27 07:23:17 +01:00
Thread.h Common: asterisks go against the type name 2016-01-21 20:46:25 +01:00
Timer.cpp SaveState/DolphinWX: Display time and date of savestate when a slot is selected, or Empty if no savestate exists in the slot. 2015-10-10 22:14:22 +02:00
Timer.h SaveState/DolphinWX: Display time and date of savestate when a slot is selected, or Empty if no savestate exists in the slot. 2015-10-10 22:14:22 +02:00
TraversalClient.cpp Merge pull request #2876 from CastellaFactory/master 2015-12-02 14:20:47 +01:00
TraversalClient.h [Netplay:Traversal] Add "Force Netplay Listen Port" feature that was in old netplay branch 2015-09-20 20:15:13 +09:00
TraversalProto.h
TraversalServer.cpp A few more asterisks, mostly casts 2016-01-21 22:20:22 +01:00
ucrtFreadWorkaround.cpp A few more asterisks, mostly casts 2016-01-21 22:20:22 +01:00
Version.cpp Common: asterisks go against the type name 2016-01-21 20:46:25 +01:00
x64ABI.cpp Correct ampersands as well 2016-01-21 21:27:56 +01:00
x64ABI.h
x64Analyzer.cpp Correct ampersands as well 2016-01-21 21:27:56 +01:00
x64Analyzer.h Correct ampersands as well 2016-01-21 21:27:56 +01:00
x64CPUDetect.cpp Common: Get rid of a few pointer casts 2015-09-15 12:28:59 -04:00
x64Emitter.cpp x64Emitter: Remove pointer cast 2015-09-17 09:35:13 -04:00
x64Emitter.h Common: Move asserts to their own header 2015-09-26 18:51:27 -04:00
x64FPURoundMode.cpp