dolphin/Source/Core/Core
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
..
Boot Always clear memory when booting 2016-04-01 21:35:26 +02:00
Debugger WII_IPC_HLE_Device_usb: const correctness for function parameters 2015-12-05 16:14:37 -05:00
DSP DSPCore: Prefix globals with g_ 2015-12-29 10:40:44 -05:00
FifoPlayer Always clear memory when booting 2016-04-01 21:35:26 +02:00
HLE HLE: Move static variable out of header 2016-01-11 04:11:12 -05:00
HW DVDInterface/DVDThread: Don't store CoreTiming event IDs in savestates 2016-04-11 22:14:25 +02:00
IPC_HLE DVDInterface/DVDThread: Don't store CoreTiming event IDs in savestates 2016-04-11 22:14:25 +02:00
PowerPC Merge pull request #3635 from phire/lazy_comex 2016-03-26 01:42:54 +01:00
ActionReplay.cpp Merge pull request #3067 from JosJuice/cheat-manager-regression 2015-12-02 14:08:32 +01:00
ActionReplay.h Fix Cheat Manager not saving created codes 2015-09-19 17:20:16 +02:00
ARDecrypt.cpp Core: Pass several parameters by const reference 2015-06-04 14:19:25 -04:00
ARDecrypt.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
BootManager.cpp Merge pull request #3576 from lioncash/boot 2016-01-30 13:14:52 +01:00
BootManager.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
CMakeLists.txt [Android] Implement support for real Wiimotes with the DolphinBar 2016-02-07 05:31:48 -06:00
ConfigManager.cpp GameInis: Allow one ini to cover all VC games for a console 2016-02-05 17:35:13 +13:00
ConfigManager.h Merge pull request #3455 from Sonicadvance1/GC_adapter_android 2016-01-06 15:07:09 -05:00
Core.cpp Fifo: Fix SyncGPU. 2016-01-24 11:06:01 +01:00
Core.h Throttler: Rename "framelimiter" to "emulation speed". 2016-01-05 23:39:05 +01:00
Core.vcxproj Make the Wii U Gamecube adapter work with less magic. 2016-01-05 13:44:37 -06:00
Core.vcxproj.filters Make the Wii U Gamecube adapter work with less magic. 2016-01-05 13:44:37 -06:00
CoreTiming.cpp Alternative fix: promote cycleslate to an s64 everywhere. 2016-04-10 02:13:06 +12:00
CoreTiming.h Alternative fix: promote cycleslate to an s64 everywhere. 2016-04-10 02:13:06 +12:00
DSPEmulator.cpp DSPEmulator: Make CreateDSPEmulator return a unique_ptr 2016-01-17 22:33:21 -05:00
DSPEmulator.h DSPEmulator: Make CreateDSPEmulator return a unique_ptr 2016-01-17 22:33:21 -05:00
ec_wii.cpp Merge pull request #3091 from Tilka/mbedtls 2015-10-03 18:00:58 -07:00
ec_wii.h Update license headers to GPLv2+ 2015-05-25 13:22:31 +02:00
GeckoCode.cpp Options: merge SCoreStartupParameter into SConfig 2015-06-12 19:07:45 +02:00
GeckoCode.h GeckoCode: Remove GetAddress function prototype 2015-07-28 22:10:39 -04:00
GeckoCodeConfig.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
GeckoCodeConfig.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
Host.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
HotkeyManager.cpp Relabel hotkey option for toggle frame limit to better reflect function 2016-02-15 04:11:21 -06:00
HotkeyManager.h Throttler: Rename "framelimiter" to "emulation speed". 2016-01-05 23:39:05 +01:00
MachineContext.h Remove ARMv7 support. 2015-06-07 22:44:13 -05:00
MemoryWatcher.cpp Fix building with PCH disabled. 2016-01-01 10:26:15 -06:00
MemoryWatcher.h MemoryWatcher: Initialize m_running to false to prevent crashes on OSX in the dtor when it picks up the wrong initial value 2016-01-08 12:20:35 -07:00
MemTools.cpp Implement BLR Overflow handling for Windows. 2016-03-20 00:41:28 +13:00
MemTools.h MemTools: Get rid of a global variable 2016-01-11 03:24:03 -05:00
Movie.cpp Apply Wii Settings on Movie Recording/Playback 2016-02-24 21:22:37 -05:00
Movie.h Apply Wii Settings on Movie Recording/Playback 2016-02-24 21:22:37 -05:00
NetPlayClient.cpp Merge pull request #3691 from rukai/netplayWiiRemoval 2016-03-04 23:45:07 +01:00
NetPlayClient.h NetPlayClient: Use std::array instead of C arrays for buffers 2016-01-25 04:57:21 -05:00
NetPlayProto.h Use the current commit hash in the netplay version 2016-01-07 00:17:05 +01:00
NetPlayServer.cpp NetPlayServer: Get rid of some explicit deallocations 2016-03-08 19:31:36 -05:00
NetPlayServer.h NetPlayServer: Make SendAsyncToClients use an unique_ptr 2016-01-27 01:34:03 +01:00
PatchEngine.cpp Options: merge SCoreStartupParameter into SConfig 2015-06-12 19:07:45 +02:00
PatchEngine.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
State.cpp ChunkFile: Handle bool in a stable way across platforms 2016-04-14 22:55:03 -04:00
State.h State/Movie: Use char instead of u8 for game ID 2015-11-28 09:36:48 +01:00