Commit Graph

346 Commits

Author SHA1 Message Date
raven02
85d1275efd Comsetic fix : Message dialog 2013-04-18 07:07:32 +08:00
raven02
9bdd615bcb Comsetic fix : YesNo Button 2013-04-18 07:06:44 +08:00
Henrik Rydgard
b12fc6e7aa UTF8-enable PPGE and add hiragana and katakana, let's see if this is enough. 2013-04-17 20:51:02 +02:00
raven02
250a714e2b combine PPGeDrawRect()/PPGeDrawImage() 2013-04-16 20:55:27 +08:00
raven02
eff7ad2531 Combine PPGeDrawImage() and PPGeDrawText() 2013-04-16 20:52:35 +08:00
raven02
39a13b16cb combine PPGeDrawRect() 2013-04-16 20:47:46 +08:00
raven02
acdee3dbfd Cosmetic : message Dialog 2013-04-16 19:21:47 +08:00
raven02
22b24af7ea Cosmetic : YesNo Dialog 2013-04-16 19:20:42 +08:00
Unknown W. Brackets
9f653d4e99 Fix savedata list failing if you had many saves. 2013-04-16 00:47:47 -07:00
Henrik Rydgard
ce9cf6e081 Revert parts of pull request 1291 2013-04-15 21:00:55 +02:00
raven02
2d6f762f87 Comment out MAKE/READ/WRITEDATA 2013-04-15 23:31:17 +08:00
raven02
5fd3a36534 Bind MAKE/READ/WRITE to corresponding MAKE/READ/WRITESECURE 2013-04-15 21:44:12 +08:00
raven02
1c9a8d9d49 Add remaining 6 savedata type functions 2013-04-15 21:42:42 +08:00
raven02
b8b34d76b3 Gundam vs gundam NP encounter limit = 0 2013-04-04 17:57:05 +08:00
Unknown W. Brackets
1f2de11dbe Add a basic impl of sceUtilityMsgDialogAbort().
Makes Enigmo work anyway.  Doesn't seem like a popular function.
2013-03-30 22:55:48 -07:00
Unknown W. Brackets
74302a9ecf Savedata doesn't always resched, add some errcodes. 2013-03-30 22:48:29 -07:00
Unknown W. Brackets
8aeaedc597 Don't allow sceUtility dialogs to overlap.
PSP doesn't allow this, and apparently some games depend on it
or else they start getting confused.
2013-03-30 22:48:17 -07:00
Unknown W. Brackets
e4223dbcb0 Simplify adding report messages, add a bunch more. 2013-03-26 00:54:00 -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
raven02
757ff087f9 Making the input letter closer 2013-03-06 06:47:21 +08:00
raven02
4290700a12 OSK typo 2013-03-05 22:43:04 +08:00
Unknown W. Brackets
6f22d6960e Add some reporting for not yet done dialogs. 2013-03-04 00:01:42 -08:00
Unknown W. Brackets
1ff163cd10 Buildfix for Android/etc. 2013-02-28 07:58:23 -08:00
raven02
4584d541ca Add CAPS for OSK input 2013-02-28 20:19:33 +08:00
Unknown W. Brackets
de7ada1982 Fix some x64 type warnings. 2013-02-24 10:39:06 -08:00
raven02
643efb3cb9 Fix (flag & (DS_OK | DS_VALIDBUTTON)) 2013-02-21 23:48:03 +08:00
raven02
fc86a5737a Fix duplicate OK and ENTER button on same message screen 2013-02-21 21:20:26 +08:00
raven02
59a046c4e7 Better centering of OSK title 2013-02-21 07:15:37 +08:00
Unknown W. Brackets
363d1dbe19 Fix some misc. warnings. 2013-02-18 08:44:59 -08:00
lioncash
a88a7214bf Fix parentheses placement in case SCE_UTILITY_SAVEDATA_TYPE_SINGLEDELETE. 2013-02-14 07:57:00 -05:00
Henrik Rydgard
8749ad0cb9 Warning fixes, very minor updates to shader generators. 2013-02-06 19:04:28 +01:00
Unknown W. Brackets
82a8450758 Fix some more non-pod structs in savestates. 2013-02-04 08:27:02 -08: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
07a5dca98e Expand out some savestate code saving non-pod. 2013-02-04 08:26:59 -08:00
Unknown W. Brackets
2a6457b6ab Cut down on h files including PointerWrap.
This makes changes to it a bit faster to build.
2013-02-04 08:26:59 -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
lioncash
19984031f6 These two variables should be unsigned. It doesn't make sense for them to be signed.
I'm pretty sure having a negative maximum allowable text output limit wouldn't happen.
Also, I'm pretty sure an output length won't be negative.

These also get rid of some typecasts.
2013-01-29 09:03:22 -05: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
06f514ee24 Center OSK description correctly 2013-01-27 20:19:28 +08:00
raven02
4d1903f50c Set time format in config 2013-01-21 21:35:31 +08:00
raven02
6e6fa2458e Mode 7 should be SCE_UTILITY_SAVEDATA_TYPE_LISTDELETE 2013-01-20 12:40:24 +08:00
Unknown W. Brackets
140fd171ef Fix some 64-bit type conversion warnings. 2013-01-19 13:48:20 -08:00
raven02
79d9f25e92 Display AM/PM and 12 hour format 2013-01-19 23:49:42 +08:00
raven02
7961197dac Cosmetic fix PSPSaveDialog::DisplayConfirmationYesNo 2013-01-19 23:05:05 +08:00
raven02
b0868613bb Add DoState() to scePsmfPlayer . 2013-01-19 21:07:50 +08:00
Henrik Rydgard
0eeca3e9e4 Change background color of dialogs to a more psp-like transparent gray. Can be tweaked further of course. 2013-01-19 10:10:26 +01: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
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