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
..
2016-01-21 21:16:51 +01:00
2016-03-04 22:51:46 +01:00
2016-03-04 22:51:46 +01:00
2015-11-20 11:33:47 +01:00
2015-09-28 11:51:08 -05:00
2015-06-08 23:16:24 +02:00
2016-01-21 21:16:51 +01:00
2016-01-21 21:16:51 +01:00
2015-05-25 13:11:47 +02:00
2016-01-21 21:16:51 +01:00
2016-01-21 21:16:51 +01:00
2016-02-14 20:35:38 -06:00
2016-02-14 20:35:38 -06:00
2015-06-24 12:13:41 +02:00
2015-05-25 13:22:31 +02:00
2015-05-25 13:22:31 +02:00
2016-01-21 21:16:51 +01:00
2016-01-21 21:27:56 +01:00
2016-01-21 21:27:56 +01:00
2016-01-21 21:27:56 +01:00
2016-01-21 22:20:22 +01:00
2016-01-21 21:16:51 +01:00
2015-05-25 13:22:31 +02:00
2015-05-25 22:26:43 -05:00
2016-01-21 21:27:56 +01:00
2016-01-21 21:27:56 +01:00
2016-01-21 21:16:51 +01:00
2016-01-21 21:16:51 +01:00
2015-11-20 11:33:47 +01:00
2016-01-21 21:27:56 +01:00
2015-05-25 13:22:31 +02:00
2015-08-20 11:50:43 +02:00
2016-01-14 00:37:11 +01:00
2016-01-21 21:16:51 +01:00
2016-01-21 21:16:51 +01:00
2016-01-21 21:27:56 +01:00
2016-01-21 21:27:56 +01:00
2016-01-21 21:27:56 +01:00
2016-01-21 21:27:56 +01:00
2016-01-21 21:16:51 +01:00
2016-01-21 21:27:56 +01:00
2016-01-21 21:27:56 +01:00
2016-01-21 21:27:56 +01:00
2015-09-17 09:35:13 -04:00