Commit Graph

326 Commits

Author SHA1 Message Date
aquanull
96f9bfd792 Now the icon is missing. 2013-06-11 16:37:50 +08:00
evilcorn
ffd2211925 Use Button X to Confirm option also changes osk select and delete buttons 2013-06-10 13:50:26 -06:00
aquanull
b5440ecb65 Unify some common elements of dialogs. 2013-06-10 21:24:49 +08:00
aquanull
3c140106be Auto-height the "borders" of the message text area.
More dialog tweaks.
2013-06-10 21:24:48 +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
Henrik Rydgard
2afbc94734 Turn off RTTI, simulate it where needed. 2013-06-09 13:02:16 +02:00
Unknown W. Brackets
fc51cf2e5e Fix OSK on Android, wchar_t is not always 16 bits.
Fixes #2073.
2013-06-04 22:39:42 -07:00
Unknown W. Brackets
20563beab2 Fix dumb typo, fixes #2051. 2013-06-03 07:41:49 -07:00
Unknown W. Brackets
0a46e982f4 Savestate dialogs properly, avoiding wrong status.
Might cause a crash if the status is set wrong due to a fade.
Fixes #2047.
2013-06-03 02:05:45 -07:00
Unknown W. Brackets
5027e24150 Use a PSPPointer in the FILELIST savedata mode. 2013-06-02 15:17:02 -07:00
Unknown W. Brackets
9eea30c52d Fix some small warnings in OSK code. 2013-06-02 15:09:17 -07:00
Unknown W. Brackets
9eb2238704 Use a PSPPointer in OSK to simplify things. 2013-06-02 15:03:15 -07:00
Sacha
b39a572043 Buildfixes.
Fix C++11 usage.
Remove redundancy.
Fix st_*time re-usage.
2013-06-02 13:26:39 +10:00
Lioncash
f86eebbf74 Fix a case where the wrong array was used. 2013-06-01 04:13:39 -04:00
Henrik Rydgård
3b85d2ffb8 Merge pull request #2012 from unknownbrackets/warnings
Warning fixes and small cleanup
2013-06-01 00:37:09 -07:00
Sacha
c2ef287f51 Buildfix for Symbian/Meego and other platforms. 2013-06-01 17:10:22 +10: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
7d17ed8a8e Correctly shutdown dialogs on game reset. 2013-05-31 01:41:04 -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
Unknown W. Brackets
2bc5deb659 Skip <> in MAKEDATA/etc. savedata modes. 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
aquanull
ae486f8e02 Make the default choice in all save dialogs except for overwrite/delete confirmation be "Yes". 2013-05-20 23:53:59 +08:00
aquanull
3c486c5dc5 Swap positions of "Back" and "Enter" buttons in PSPSaveDialog. 2013-05-20 23:53:58 +08:00
raven02
08e108a1e3 Better positiong for Save dialog 2013-05-20 20:00:41 +08:00
Unknown W. Brackets
c82fd54d1c Implement simple text wrapping for PPGe/MsgDialog.
Probably not enough.  Maybe should apply other places.
2013-05-19 23:20:50 -07:00
raven02
0ed391e5e0 If-else fFormatting 2013-05-19 06:07:00 +08:00
Unknown W. Brackets
eb308d03e8 Don't preserve the selected save for DATA types.
Fixes #1825.
2013-05-16 22:33:10 -07: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
raven02
77653f03b5 Better Align OK/Back button 2013-05-03 06:39:28 +08:00
raven02
e1587744e4 Fix message dialog oversize 2013-05-02 23:24:59 +08:00
Henrik Rydgard
b9f45e4530 Add stub framework for .pbp demos (nowhere near working). Fix an OSK crash. 2013-04-27 23:16:51 +02:00
Henrik Rydgard
6f23a56779 Remove use of setlocale() in Osk as I could not figure out the purpose, and it broke stuff.
If this is actually needed, please send a pull request adding it back, turning it off when not used, and also add an explanation in a comment.
2013-04-25 10:42:31 +02:00
mgaver
328420c55e PSPOskDialog add signature for UTF-8
add signature for UTF-8 for buildfix
2013-04-24 20:08:36 +09:00
mgaver
832bf55173 Update PSPOskDialog.cpp 2013-04-24 19:51:46 +09:00
mgaver
d1b862de21 Update PSPOskDialog.cpp 2013-04-24 19:50:39 +09:00
mgaver
58a3218f54 Update PSPOskDialog.h 2013-04-24 18:00:47 +09:00
mgaver
6a15352b44 Update PSPOskDialog.cpp 2013-04-24 13:13:41 +09:00
mgaver
efa41413ef Update PSPOskDialog.cpp
Clean up code.
2013-04-24 08:38:25 +09:00
mgaver
369413e352 Update PSPOskDialog.cpp
Add variables
2013-04-24 08:34:05 +09:00
mgaver
2dd7c17009 Update PSPOskDialog.h
Add function "CombinationKorean"
2013-04-24 08:33:06 +09:00
mgaver
a1e18b9758 Update PSPOskDialog.cpp
Clean up code
2013-04-24 08:31:50 +09:00
mgaver
f66b8b0251 Update PSPOskDialog.cpp
Change magic number to constant.
2013-04-24 00:50:49 +09:00
mgaver
8545718c0d Update PSPOskDialog.cpp
Fix Korean keyboard.
2013-04-24 00:02:12 +09:00
mgaver
5721412f29 Update PSPOskDialog.cpp
Fix Korean keyboard.
2013-04-24 00:00:01 +09:00
mgaver
c937d23214 Update PSPOskDialog.cpp
Fix Korean keyboard.
2013-04-23 23:55:30 +09:00
mgaver
f8681fde08 Update PSPOskDialog.cpp
Fix Korean keyboard.
2013-04-23 23:55:01 +09:00
mgaver
9ae9b5fbe3 Update PSPOskDialog.cpp
Fix Korean keyboard
2013-04-23 23:47:27 +09:00
mgaver
1525bc696f Update PSPOskDialog.h
Add Korean keyboard and Russian keyboard.
2013-04-23 23:24:42 +09:00
mgaver
a12709b96d Update PSPOskDialog.cpp
Add Korean keyboard and Russian keyboard.
2013-04-23 23:24:06 +09:00
mgaver
531e092c30 Update PSPOskDialog.cpp
Input character align to center
2013-04-23 00:53:58 +09:00
mgaver
cf70cbc15f Update PSPOskDialog.cpp
Remove unusable comment.
2013-04-22 18:25:57 +09:00
mgaver
e22f8d516e Update Japanese On Screen Keyboard 2013-04-22 18:02:52 +09: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
ufdada
1d520e79ac shorter keys for language-ini
Every dialog with linefeed included (\n) is now shorter and replaced in the second parameter.
2013-04-21 15:08:18 +03:00
Henrik Rydgård
991fe2321d Merge pull request #1420 from unknownbrackets/osk-fix
The prefill text is optional in the OSK
2013-04-21 02:05:46 -07:00
Unknown W. Brackets
7eeba4b120 The prefill text is optional in the OSK. 2013-04-21 01:54:36 -07:00
Yaroslav
a0b722a9b6 D for Dialog 2013-04-21 14:16:01 +07:00
raven02
f56df7ef6f Add a missing m->T("Back") in PSPSaveDialog 2013-04-21 07:23:05 +08:00
Unknown W. Brackets
97a944091a Improve the UX in the OSK just a tiny bit. 2013-04-20 15:05:18 -07:00
Unknown W. Brackets
7baf27bbc3 Toggle keyboards for uppercase, as users expect.
Also should make l10n here easier.
2013-04-20 15:05:18 -07:00
Unknown W. Brackets
75d8eca76f Prefill the OSK when requested to. 2013-04-20 15:03:33 -07:00
Unknown W. Brackets
27cf72afb6 Add more error checks for OSK, fix field length. 2013-04-20 15:03:32 -07:00
Unknown W. Brackets
f8d726c5ea Validate OSK struct size and don't do copying.
The PSP itself only allows the correct size struct.
2013-04-20 15:03:32 -07:00
raven02
9d7183dfa0 Fix Start/Select button in OSK screen 2013-04-21 06:01:12 +08:00
mgaver
f269a0b9bb Update PSPSaveDialog.cpp
Restore spcaing to center it.
2013-04-21 05:11:18 +09:00
Mgaver
d09a69906d update MsgDialog, OskDialog, SaveDialog translatable
Make a new section "Dialog" into language ini files.
2013-04-21 04:36:50 +09:00
Henrik Rydgård
8bc942f4ad Merge pull request #1318 from raven02/master
Fix enable sound in windows and comsetic fix to UI based on new font
2013-04-18 00:57:08 -07:00
Unknown W. Brackets
0cceca05a1 Convert the OSK params to utf-8, not ASCII. 2013-04-17 22:51:06 -07:00
raven02
a301560fd7 lO 2013-04-18 08:36:39 +08:00
raven02
651644cd0d Comsetic fix : OSK dialog 2013-04-18 07:43:09 +08:00
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