Commit Graph

146 Commits

Author SHA1 Message Date
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
Xele02
86d70a3161 Update dialog display and return code depending of request version. 2013-01-17 23:30:45 +01:00
raven02
829ae42717 Quick fix to PSPSaveDialog::DisplayBack() 2013-01-16 08:46:41 +08:00
raven02
fb25584cd8 Minor fix to save/load dialog matching to PSP 2013-01-16 08:39:31 +08:00
raven02
622627f69a Match PSP savelist and transparent dialog 2013-01-15 08:12:52 +08:00
Henrik Rydgard
7271e3fcd5 Fix fog and stencil buffer clearing. The latter fixes the sky in MotoGP. 2013-01-14 20:44:11 +01:00
Henrik Rydgård
ec6c2428a9 Merge pull request #414 from raven02/master
Match real PSP save/load/delete dialog
2013-01-14 04:07:55 -08:00
raven02
8a1f90c38e Display underline using PPGeDrawRect 2013-01-14 08:45:53 +08:00
raven02
863b2c8272 Match PSP save/load/delete dialog 2013-01-13 23:45:32 +08:00
raven02
4673fa30c7 Fix DS_ERROR , allow Ys vs Sora ingame 2013-01-12 16:29:34 +08: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
Mathias Tillman
b780e39397 Fixed various potential bugs and compiler warnings 2013-01-07 15:57:19 +01:00
raven02
5618d5c6ec Fix save delete in FF Crisis Core 2013-01-06 20:41:49 +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
raven02
5a6a2819bc Cosmetic fix for overwrite save dialog 2013-01-05 19:19:41 +08:00
raven02
a1897195c5 Cosmetic fix in save/load menu when line of game data info > 4 2013-01-05 18:40:22 +08: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
59e52f4e5a Make MsgDialog not put text outside the screen. 2013-01-03 14:02:35 +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
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
9b92ff3a1f Add missing dialog display
Add Error Log when an Message Dialog Option is not coded
2013-01-01 01:19:33 +01: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
Henrik Rydgård
853c588e61 Merge pull request #265 from unknownbrackets/save-fixes
Stub out mode 12 so games think it's working
2012-12-27 23:26:15 -08:00
raven02
f78c519a96 OSK dialog cosmetic fix 2012-12-28 12:03:53 +08:00
Unknown W. Brackets
709df11c9e Stub out mode 12 so games think it's working. 2012-12-26 17:33:56 -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
1a71bf3aaf Fix potential buffer overflow.
Detail can be 1024 already, I guess.
2012-12-25 01:36:21 -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
61d116b5f1 Copy right size of save request. 2012-12-24 01:22:28 +01:00
Xele02
951be86e62 Merge remote-tracking branch 'upstream/master'
Conflicts:
	pspautotests
2012-12-24 01:11:52 +01:00
Unknown W. Brackets
7c35b145ea Make the OSK go left/right like SNES/etc. ones. 2012-12-23 09:25:42 -08:00
Unknown W. Brackets
bfcf6e3aca Stop always selecting the first char in OSK. 2012-12-23 09:23:01 -08:00
Unknown W. Brackets
c89c46cbf9 Center and space out the OSK. 2012-12-23 09:21:10 -08:00
Unknown W. Brackets
64d8763d0a Fix left/right/up/down wrapping issues in OSK. 2012-12-23 09:13:49 -08:00
Unknown W. Brackets
1c4409e082 Naive fix for repeat rate issues in OSK.
Not sure if the latch should actually be consumed but makes sense.
Needs tests.
2012-12-23 08:59:34 -08:00
Unknown W. Brackets
f2cb19d7ba Switch OSK to using a std::string buffer.
Back as a class member, hurray.
2012-12-23 08:52:51 -08:00
Unknown W. Brackets
25e8fbdb68 Oops, forgot to add one here. 2012-12-22 22:57:56 -08:00
Unknown W. Brackets
4bc06562d6 Move OSK inputChars to global, fixes release crash.
Also, assorted potential crash fixes / etc.
2012-12-22 22:41:51 -08:00
TMaul
8586bb30b6 Make some vars class members 2012-12-22 19:58:47 +00:00
TMaul
ff4d52059e Clean up OSK code
Remove some magic numbers and a few other things
2012-12-22 19:55:44 +00:00
TMaul
d5dd6881d7 Fix returned value length 2012-12-22 18:48:34 +00:00
TMaul
d3e28a5032 Clean up OSK instructions 2012-12-22 18:48:33 +00:00
TMaul
60e831bc8e Make OSK work
But it's kind of horriffic
2012-12-22 18:48:33 +00:00
TMaul
9b628d1ab0 Increase font size and spacing 2012-12-22 18:48:33 +00:00
TMaul
21a389a772 Display 'keys' 2012-12-22 18:48:32 +00:00
TMaul
2b177e9b6d Start making the osk an osk 2012-12-22 18:48:32 +00: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
Florent Castelli
c33eafd430 Warning fixes 2012-12-21 23:02:35 +01:00
Henrik Rydgard
91744a03b0 Warning fixes 2012-12-21 16:50:13 +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
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
0ccce3c1a8 * Don't restart dialog if already running. This correct bug with
MotoGP, even if the game make weird stuff with the dialog call...
* Add log for data install and install request.
2012-12-19 01:05:45 +01:00
Xele02
07048131d0 Correct mistake 2012-12-18 22:27:59 +01:00
Henrik Rydgard
1400237d0e Lots of various work on sceSas. ADSR envelopes, correct looping, etc etc... Still far from perfect but better. 2012-12-17 18:07:25 +01:00
Henrik Rydgard
15b7c1c96c sceSas cleanup 2012-12-16 20:40:49 +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
a5431f127a Merge remote-tracking branch 'upstream/master' 2012-12-16 03:41:13 +01:00
TMaul
ef836c6022 More Cleanup
Probably some more missing stuff from the Cmakelist but I don't have it
setup to test
2012-12-15 17:39:05 +00:00
TMaul
0414b072a4 Display OSK message
And some cleanup
2012-12-15 17:13:58 +00:00
TMaul
a2a4248381 Fake some of the on screen keyboard
Now games that use it assume the user has input "000000" which seems to
work for most games. Gets Pixel junk monsters deluxe and Worms battle
island in-game
2012-12-15 16:42:38 +00:00
Xele02
825e058c94 Correct date display with padding 2012-12-14 23:40: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
1697e1dd93 Save save snd file 2012-12-14 21:36:54 +01:00
Xele02
ab71c3d1d0 Save unencrypted PARAM.SFO 2012-12-14 20:55:57 +01:00
Xele02
1ea6fe7e4d Correct texture display in save dialog on Android. 2012-12-14 01:04:45 +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
c079bbf776 Add missing CloseFile 2012-12-11 17:41:17 +01:00
Henrik Rydgård
2b448bdcad Merge branch 'fileutil' of https://github.com/unknownbrackets/ppsspp into unknownbrackets-fileutil
Conflicts:
	Core/Dialog/SavedataParam.cpp
2012-12-11 16:54:13 +07:00
Unknown W. Brackets
7b52eee4cc Fix some doubled up slashes. 2012-12-10 23:30:48 -08:00
Xele02
f5801916c7 * Correct Autoload / Autosave problem
* WIP Save function 8 and 11
2012-12-11 03:09:52 +01:00
Xele02
634a696fbe Remove debug log 2012-12-10 13:16:00 +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