Commit graph

58 commits

Author SHA1 Message Date
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
Unknown W. Brackets
dcd3045cd5 Always use -1 for failed allocs in block allocator.
Before it used 0 and -1, confusing.
2013-01-18 01:38:12 -08:00
raven02
1dc49bad8f Save Mode 22 name fix 2013-01-10 14:34:11 +08:00
Xele02
af59744671 * Fill some value after save/load for game checking them
* Some game like FF1 gave a nameList with no name in it.
2013-01-06 01:29:14 +01:00
Xele02
88296468e4 Some save are smaller than the buffer. This correct K-on Houkago Live
Game which should check save size returned.
2013-01-05 02:00:41 +01:00
Henrik Rydgard
363f158a0a Just warning fixes 2013-01-02 21:13:21 +01:00
Henrik Rydgard
883f61e3dd Savestates: Add quicksave/quickload. Add Android UI for savestates. All single slot for now. 2013-01-02 21:05:02 +01:00
Unknown W. Brackets
5d892e005d Let ParamSFO always own its pointers. 2013-01-02 01:37:03 -08:00
Unknown W. Brackets
f36a4b3a12 Fix a crash when SAVEDATA_FILE_LIST is invalid.
I think that's what caused this anyway.
2013-01-01 19:46:53 -08:00
Xele02
cd8ba8495d Update mode 8
Add mode 12, 13, 17, 22
2013-01-01 01:19:33 +01:00
Unknown W. Brackets
ca4c767d38 Fix mistake from savestates breaking saving.
Clear after, not first.  Was killing the count.
2012-12-31 15:39:49 -08:00
Henrik Rydgård
acd1457308 Merge pull request #288 from unknownbrackets/savestates
Save more of the GPU's state, fix a crash
2012-12-29 15:34:57 -08:00
Xele02
45c9ed389c Implement mode 11 2012-12-29 23:56:45 +01:00
Unknown W. Brackets
848a2e2d2a Arg, missed a crash in savedata for states. 2012-12-29 12:55:58 -08:00
Unknown W. Brackets
0edbcdc955 Fix some missing things / bugs in save states. 2012-12-29 02:56:56 -08:00
Unknown W. Brackets
fd2f609367 Save the savedata and other dialog state.
Although, hopefully it wouldn't be running anyway.
2012-12-28 13:55:31 -08:00
Xele02
05a3574315 Add missing break 2012-12-28 12:00:43 +01:00
Xele02
020e4e7f13 Add code for sdk version info
Modify Encrypt file data
2012-12-28 11:42:41 +01:00
Xele02
a23ca01f16 Mode 8 Correction
Modif for save encryption in Param.sfo and export save filename and
encode key in a file
2012-12-28 11:39:52 +01:00
Unknown W. Brackets
b0295664e8 Correctly fix incorrect save directory being used.
Darn, should've caught this before when I refactored wrong.
2012-12-25 01:41:02 -08:00
Unknown W. Brackets
0fa0d3f6db Oops, need to use saveNameList when specified.
Mistake from 6f165cfbe46ead77e3b4e99fe18ee1609188cf9c...
2012-12-25 01:07:05 -08:00
Unknown W. Brackets
f8f581794f Make sure sceUtility funcs all return error codes.
Right now, everything is 0, but before it wasn't returning anything.
Returning 0 actually made some games start working right.
2012-12-25 01:07:04 -08:00
Unknown W. Brackets
db6ef8ce64 Simplify reading/writing in one shot. 2012-12-25 01:07:04 -08:00
Unknown W. Brackets
f983c8af5c Protect against an unlikely buffer overflow. 2012-12-25 01:07:04 -08:00
Unknown W. Brackets
ca22e38752 Fix another potential png load failure.
Also, rename func for consistency.
2012-12-25 01:07:03 -08:00
Unknown W. Brackets
efefa80ab9 Fix a couple warnings on 32 bit in savedata. 2012-12-25 01:07:03 -08:00
Unknown W. Brackets
cb544261b5 Fix crash loading bad png file in savedata. 2012-12-25 01:07:02 -08:00
Unknown W. Brackets
8af48d6e54 Refactor some similar code together.
No functionality changes, just moving around.
2012-12-25 01:07:02 -08:00
Xele02
745ba092c5 merge 2012-12-22 19:05:47 +01:00
Xele02
d23e751557 Merge remote-tracking branch 'upstream/master'
Conflicts:
	Core/Dialog/SavedataParam.cpp
2012-12-22 18:57:10 +01:00
Unknown W. Brackets
217bdc275e Fix some type-conversion warnings. 2012-12-21 16:07:38 -08:00
Henrik Rydgard
fa7de38ccf PSPSaveDialog: Style/warning fixes. Add a way to return errors (unused). 2012-12-19 21:23:52 +01:00
Xele02
4fb3066e39 Continue work on mode 8 2012-12-19 18:15:02 +01:00
Xele02
fc4159efef Work on mode 8 2012-12-19 16:57:22 +01:00
Xele02
07048131d0 Correct mistake 2012-12-18 22:27:59 +01:00
Xele02
bd1a9c2b1a Make Save/Load List work when there is no multiple save files in the
request.
2012-12-16 12:51:02 +01:00
Xele02
e785662747 Read PARAM.SFO for display save info
Display save modification date and time
2012-12-14 23:08:56 +01:00