Commit Graph

22 Commits

Author SHA1 Message Date
Unknown W. Brackets
ef04c4f55c Utility: Report YugiohSaveFix usage. 2022-12-19 07:56:23 -08:00
Unknown W. Brackets
e49668eea7 SaveState: Correct missing switch case warnings. 2022-12-04 07:57:30 -08:00
Unknown W. Brackets
0556ee67fc SaveState: Fix a format type error. 2022-12-04 07:57:09 -08:00
Henrik Rydgård
c7041d6e97 Reserve some space in the checkpoints vector 2022-12-02 22:46:39 +01:00
Henrik Rydgård
f5a7661c51 Add a NOOP state to reduce logspam after error 2022-12-02 22:46:38 +01:00
Henrik Rydgård
52a684644d Verify that the Measure and Save passes match accurately through checkpointing
Adding this after seeing some very suspicious behavior in Ratchet &
Clank.
2022-12-02 22:46:38 +01:00
Henrik Rydgård
237fbca979 Savestate: Prepare some sanity checks 2022-12-02 22:46:38 +01:00
Unknown W. Brackets
3e5d77ab46 SaveState: Switch from deprecated is_pod. 2022-11-12 12:30:04 -08:00
Henrik Rydgård
36ada6308d Sanity check string lengths in save state code 2021-10-07 21:08:46 +02:00
Unknown W. Brackets
a1b88bedd9 SaveState: Validate size matches measured.
In #14653, a save state appears to have been generated truncated.
This attempts to detect that at generation time.
2021-08-07 13:55:29 -07:00
Unknown W. Brackets
dc12b3a7c8 SaveState: Use default ZSTD compress level. 2021-08-06 23:46:07 -07:00
Unknown W. Brackets
0097772d3c SaveState: Ask to include xxhash in frames.
Hopefully this should detect any decompression errors better.
2021-08-06 23:42:43 -07:00
Unknown W. Brackets
1e9a391f65 SaveState: Add const for save compression. 2021-08-06 23:39:36 -07:00
Henrik Rydgård
c6c5a93bf4 Couple of minor things, crashfix on deserialization failure 2021-07-25 15:42:12 +02:00
Henrik Rydgård
025bcb1673 Introduce Path, start using it all over the place.
Still lots left to convert!

Convert GetSysDirectory to return Path.

More buildfixing

Remove unnecessary Path( constructors
2021-05-13 10:39:16 +02:00
Unknown W. Brackets
7a719dc245 SaveState: Switch to zstd.
Choose a level that is just slightly slower than snappy, but much smaller
typically.
2021-04-11 09:13:10 -07:00
Henrik Rydgård
5d62610a93
Merge pull request #14038 from unknownbrackets/savestate-str
SaveState: Load misaligned wide strings properly
2021-02-15 18:50:23 +01:00
Unknown W. Brackets
45f3f4554b SaveState: Prevent crash on bad cookie marker.
Just fail to load the save state.
2021-02-09 07:14:07 -08:00
Unknown W. Brackets
be4c905373 SaveState: Load misaligned wide strings properly. 2021-01-31 08:55:54 -08:00
Henrik Rydgård
74f8b3c69a Yet another one 2020-10-15 00:03:47 +02:00
Henrik Rydgård
4f43cff5ca
Move fileutil, net, image loaders, ui to Common. (#13506)
* Move and rename file_util/fd_util to Common/File/FileUtil and DirListing

Let's also move net while we're at it.

Move the ZIM/PNG loaders over to Common.

Move the UI framework into Common

iOS buildfix

* Buildfix

* Buildfixes

* Apple buildfix

* This typo again..

* UWP buildfix

* Fix build of PPSSPPQt, such as it is (it's not in good condition...)

* Guess what? Another buildfix.
2020-10-04 20:48:47 +02:00
Unknown W. Brackets
b8342fb8ec SaveState: Rename ChunkFile files to Serialize.
Makes more sense and less weird than ChunkFileDoMap, etc.
2020-08-10 08:04:05 +00:00