Commit Graph

47 Commits

Author SHA1 Message Date
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
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
Henrik Rydgard
19b8ff5331 Use snappy to compress savestates. This is a bit of a hackjob sorry, will clean after 0.5. 2013-01-02 22:13:29 +01:00
Henrik Rydgard
363f158a0a Just warning fixes 2013-01-02 21:13:21 +01:00
Xele02
cd8ba8495d Update mode 8
Add mode 12, 13, 17, 22
2013-01-01 01:19:33 +01: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
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
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
ca22e38752 Fix another potential png load failure.
Also, rename func for consistency.
2012-12-25 01:07:03 -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
d23e751557 Merge remote-tracking branch 'upstream/master'
Conflicts:
	Core/Dialog/SavedataParam.cpp
2012-12-22 18:57:10 +01:00
Henrik Rydgard
fa7de38ccf PSPSaveDialog: Style/warning fixes. Add a way to return errors (unused). 2012-12-19 21:23:52 +01:00
Xele02
fc4159efef Work on mode 8 2012-12-19 16:57:22 +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
Xele02
ab71c3d1d0 Save unencrypted PARAM.SFO 2012-12-14 20:55:57 +01:00
Xele02
67c88d7b33 * Load and display save image in save/load menu
* Add help math function
* Add draw function in PPGe without texture and with alternative
texture.
* Change hardcoded atlas texture size in PPGe
2012-12-13 22:06:45 +01:00
Xele02
f5801916c7 * Correct Autoload / Autosave problem
* WIP Save function 8 and 11
2012-12-11 03:09:52 +01:00
Xele02
7de10d223b * Create class for Save and Message dialog for cleaner code.
* Update Save dialog to work more like the real one on PSP
* Correct some return value for Save Dialog.
2012-12-10 13:08:54 +01:00