Commit graph

68 commits

Author SHA1 Message Date
Unknown W. Brackets
30f8ec447a Hash and detect savedata hashmode correctly.
Fixes Persona 1 savedata compatibility.
2014-07-06 19:27:51 -07:00
Yifan Lu
c5336d5817 Added printing of game save key to debug log when loading/saving 2014-03-22 16:13:30 +01:00
Unknown W. Brackets
fe8ada4d7e Log the name of the save operation, not just #.
Makes it a lot easier to read...
2014-03-15 17:20:34 -07:00
Unknown W. Brackets
8d29b583e8 Reduce a few Core/Dialog/ includes. 2014-03-15 10:52:13 -07:00
sky-zer
2ba30e3f97 SceUtilitySavedataFileListEntry correction. 2014-01-28 00:24:56 +04:00
Unknown W. Brackets
e00a244d1e Handled fixed-length strings in savedata properly. 2014-01-24 01:21:13 -08:00
Henrik Rydgård
87f203a5b8 More include untangling 2013-12-29 23:44:35 +01:00
Henrik Rydgård
79ff2f0ba8 Start untangling our include mess a little. 2013-12-29 23:34:45 +01:00
Unknown W. Brackets
2d3f0758c1 Dynamically manage PPGe images so 50+ are okay.
Otherwise, we try to allocate all at once and could run out of ram.

Should fix #2242.
2013-12-08 11:06:18 -08:00
Henrik Rydgård
c9475b17b8 Merge pull request #4514 from shenweip/patch-3
Skip the read of secure files which are not in SFO.
2013-11-14 14:02:21 -08:00
Kingcom
7f9182033e Partially implement SCE_UTILITY_SAVEDATA_FOCUS_NAME 2013-11-12 10:10:56 +01:00
shenweip
d3fbbebe16 Only skip when load fail. 2013-11-12 12:14:16 +08:00
shenweip
c5a6e4653b Only check in secure mode. 2013-11-12 12:08:11 +08:00
shenweip
02ceb312cf Skip the load of secure files which are not in SFO. 2013-11-12 11:21:26 +08:00
shenweip
8a26da6e45 Load another files of save. 2013-11-03 23:52:16 +08:00
shenweip
b9d655f602 Code CleanUp,make it clearer. 2013-11-03 23:10:05 +08:00
shenweip
07e39b2247 Implemented DELETEDATA mode of saveDialog. 2013-11-02 19:48:25 +08:00
shenweip
f4b60f22b0 Add a check to avoid the same savedatas are set into SaveDataList. 2013-10-28 00:07:32 +08:00
Henrik Rydgård
2b278d4c13 Buildfix 2013-10-23 17:00:10 +02:00
Sacha
1af2f99959 Initialise everything in the SaveFileInfo to 0.
We were getting std::tm initialised to random values which non-existent files become the preferred save.
2013-10-23 23:19:50 +10:00
Unknown W. Brackets
50e9e45d65 Check version in each DoState() func.
They bail on PointerWrap error or bad version.
2013-09-14 20:23:03 -07:00
Unknown W. Brackets
0b5bdeb1d3 Fix some compile failures under big endian. 2013-07-28 21:04:17 -07:00
Unknown W. Brackets
777074cfe1 Switch to _le memory layout specs in dialogs. 2013-07-27 15:30:18 -07:00
Unknown W. Brackets
8f0d3c55fb Use PSP memory directly in GETSIZES for savedata. 2013-06-23 22:22:25 -07:00
Unknown W. Brackets
6eca664c7c Switch idList to use structs in savedata. 2013-06-23 22:22:24 -07:00
Unknown W. Brackets
3672b591bb Return error codes from SavedataParam::GetSizes().
Rather than true/false, makes things simpler.
2013-06-23 22:22:23 -07:00
Unknown W. Brackets
16752f57b6 Switch SIZES savedata mode to using structs. 2013-06-23 22:22:23 -07:00
Unknown W. Brackets
dae4156654 Make more savedata struct parts PSPPointers. 2013-06-22 22:49:39 -07:00
Unknown W. Brackets
12232dcad4 Simplify some Memory::GetPointer stuff. 2013-06-22 22:44:00 -07:00
Unknown W. Brackets
f7a717746f Sometimes newData.buf is NULL, don't log an error. 2013-06-22 22:40:48 -07:00
aquanull
b5440ecb65 Unify some common elements of dialogs. 2013-06-10 21:24:49 +08:00
aquanull
ddc85988ab Improve PSP system dialogs' looks.
Format date according to configurations.
Swap positions of button tips.
Fix text wrapping with non-top-left text alignment.
2013-06-10 21:24:48 +08:00
Unknown W. Brackets
5027e24150 Use a PSPPointer in the FILELIST savedata mode. 2013-06-02 15:17:02 -07:00
Sacha
b39a572043 Buildfixes.
Fix C++11 usage.
Remove redundancy.
Fix st_*time re-usage.
2013-06-02 13:26:39 +10:00
Unknown W. Brackets
1d2476f28e Add error handling to the FILES savedata mode.
Not actually changed yet.
2013-05-31 01:40:36 -07:00
aquanull
c316bc9a33 Support more list focus settings. 2013-05-20 23:54:01 +08:00
aquanull
dc25e6d223 Always pick up the saveID by latest file time instead of the previously used one.
This fixes SRWAP & SRWMXP.
2013-05-20 23:54:00 +08:00
Unknown W. Brackets
27572e3a36 Default to saveName for AUTO LOAD/SAVE modes.
Maybe should for others, but at least these for sure.

Fixes #1017.
2013-05-11 21:01:20 -07:00
Unknown W. Brackets
1ffb0755b1 Move some things around and simplify. 2013-05-11 20:31:40 -07:00
Unknown W. Brackets
203abe6f7f In TYPE_SAVE/TYPE_LOAD, show a confirmation.
AUTOSAVE/AUTOLOAD don't, SAVE/LOAD do.
2013-05-11 19:10:01 -07:00
Unknown W. Brackets
b2a118ef9d Enable MAKEDATA/READDATA/WRITEDATA.
Not sure if there's more to them, but LBP saves work between the PSP
and PPSSPP with this.
2013-04-21 14:18:12 -07:00
raven02
1c9a8d9d49 Add remaining 6 savedata type functions 2013-04-15 21:42:42 +08:00
Unknown W. Brackets
746c95f1c8 Basic initial implementation of GETSIZE/DELETEDATA.
LittleBigPlanet uses these.  It seems happier with these working,
although it goes on to call MAKEDATA.

Also seems to make some other games happier.

GETSIZE not heavily tested yet.
2013-03-17 17:47:37 -07:00
Unknown W. Brackets
82a8450758 Fix some more non-pod structs in savestates. 2013-02-04 08:27:02 -08:00
Xele02
36015f9678 Don't duplicate no save texture for each save since it's the same.
And some games have 99 slots.
2013-01-29 22:46:50 +01:00
Xele02
aa01751589 Save encryption. Load/Save encrypted/decrypted save
RE of Chnnlsv lib
Correct size bug in kirk
2013-01-29 00:11:02 +01:00
raven02
6e6fa2458e Mode 7 should be SCE_UTILITY_SAVEDATA_TYPE_LISTDELETE 2013-01-20 12:40:24 +08:00
Xele02
bf7f6d54cb Use "newData" from request which is the PNG icon for empty save. 2013-01-18 22:24:13 +01:00
Henrik Rydgård
b3b30ef186 Fixed buildfix (i removed the last one, it was bogus) 2013-01-10 10:01:48 +01:00
raven02
1dc49bad8f Save Mode 22 name fix 2013-01-10 14:34:11 +08:00