Commit graph

94 commits

Author SHA1 Message Date
Unknown W. Brackets
9fb64183e6 Don't write more than the savedata buffer.
Fixes Numblast when there's savedata, probably others.
Could use more testing.
2013-09-10 01:46:49 -07:00
Henrik Rydgard
8c88dff5a4 More log categories, use them (and existing ones). Improve log config. 2013-09-07 22:02:55 +02:00
sum2012
f941b09909 better fix 2013-09-04 23:14:39 +08:00
sum2012
3d20b8d7b0 Fix crash in debug build 2013-09-04 20:35:34 +08:00
sum2012
6358f4ec62 Fix Summon Night 5,when there is a save,make new game would crash 2013-09-04 20:18:21 +08:00
Unknown W. Brackets
1ed8edb0d3 Avoid some dangerous hex constant widths. 2013-08-22 23:23:48 -07:00
Henrik Rydgard
43978f0ed6 Auto-create .nomedia file on Android to hide savedata icons from Gallery 2013-08-12 21:49:02 +02:00
Unknown W. Brackets
a32cf817ff Fix some minor warnings. 2013-07-07 20:31:04 -07:00
Lioncash
b823bb7543 Change PSPPointer function name Valid to IsValid.
Improves readability and shows intent better.
2013-06-25 09:51:39 -04:00
Unknown W. Brackets
a94640f112 Fix a few null checks in savedata.
Fixes #2456.
2013-06-24 23:02:57 -07:00
Sacha
5ce2f2abcc Blackberry Buildfix. 2013-06-24 21:22:05 +10:00
Unknown W. Brackets
8f0d3c55fb Use PSP memory directly in GETSIZES for savedata. 2013-06-23 22:22:25 -07:00
Unknown W. Brackets
8734b29105 Return a bind value in FILELIST, tweaks. 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
73acbe556d Use the specified game/save name for SIZES.
It doesn't use the global one (not sure why...)
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
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
Henrik Rydgard
2afbc94734 Turn off RTTI, simulate it where needed. 2013-06-09 13:02:16 +02:00
Unknown W. Brackets
5027e24150 Use a PSPPointer in the FILELIST savedata mode. 2013-06-02 15:17:02 -07:00
Unknown W. Brackets
ae5fad2b39 Don't try to read outside the SAVEDATA_FILE_LIST. 2013-05-31 23:14:29 -07:00
Unknown W. Brackets
aaddde2f62 Don't mark <> file entries as non-existant.
Otherwise Load() will fail when it ought not to.
2013-05-31 01:41:04 -07:00
Unknown W. Brackets
00eb684c0c Correctly handle the file list savedata mode. 2013-05-31 01:41:04 -07:00
Unknown W. Brackets
55a226549c Make a few variables static and CONSTANTy. 2013-05-31 01:41:01 -07:00
Unknown W. Brackets
a0fd824f78 Read in the PARAMS.SFO secure file list. 2013-05-31 01:40:43 -07: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
Unknown W. Brackets
f084781ccf Stop writing ENCRYPT_INFO.BIN, PSP doesn't do it.
We don't need it and it may confuse games.
2013-05-31 01:33:24 -07:00
raven02
646f2e07e5 Add Memory::IsValidAddress(curFileInfoAddr) to GetFilesList() 2013-05-25 23:57:59 +08:00
raven02
8ae127e87c Fix the save loading for God Eater Burst and Gundam VS Gundam NP 2013-05-23 22:59:49 +08: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
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
Unknown W. Brackets
9f653d4e99 Fix savedata list failing if you had many saves. 2013-04-16 00:47:47 -07: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
363d1dbe19 Fix some misc. warnings. 2013-02-18 08:44:59 -08:00
Henrik Rydgard
8749ad0cb9 Warning fixes, very minor updates to shader generators. 2013-02-06 19:04:28 +01:00
Unknown W. Brackets
7a0c1f822d Don't allocate a 0 array in savedata savestates. 2013-02-04 08:27:00 -08:00
Unknown W. Brackets
9db836eb96 Minor typesafety/bounds checking warning fixes. 2013-01-31 00:02:54 -08:00
Henrik Rydgard
8075ece76c 0x10 bytes 2013-01-30 21:27:46 +01:00
Henrik Rydgard
b2020ee243 Fix nasty little stack overwrite in SavedataParam 2013-01-30 21:08:03 +01: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
Unknown W. Brackets
140fd171ef Fix some 64-bit type conversion warnings. 2013-01-19 13:48:20 -08:00
Xele02
1f4f5eaf9a Add fade in / out on dialog to allow time for the user to release
button.
2013-01-19 00:46:05 +01:00
Xele02
bf7f6d54cb Use "newData" from request which is the PNG icon for empty save. 2013-01-18 22:24:13 +01:00