Commit Graph

457 Commits

Author SHA1 Message Date
Sacha
07e8d475b3 Use name count instead of data count for grabbing focus. 2013-10-23 23:16:49 +10:00
Henrik Rydgard
1ec0a977e4 Fix too-slow fade in/out of save dialogs and others in 30hz games. 2013-10-16 18:54:40 +02:00
shenweip
8a6d36dcb0 Fix 2013-10-13 11:56:47 +08:00
shenweip
1ff4b9c8ce Add PSPNetconfDialog. 2013-10-13 10:26:51 +08:00
Unknown W. Brackets
ff2012d37b Minor warning. 2013-10-06 22:10:38 -07:00
shenweip
6812ddf8e4 Fallback to validDir if sfo file doesn't exist. 2013-10-07 02:32:03 +08:00
shenweip
561cbab5c5 Use sfo file to set savedata'date when mode is 11. 2013-10-06 22:17:05 +08:00
Lioncash
a7836af14c Move variable temp into the if statement in function Update in PSPGamedataInstallDialog.cpp. It's only used in this branch statement. 2013-10-05 18:30:00 -04:00
Lioncash
3c90b489fa Merge branch 'master' of https://github.com/hrydgard/ppsspp 2013-10-05 17:44:09 -04:00
Unknown W. Brackets
49bd553238 Avoid some shadowing warnings. 2013-10-05 11:13:39 -07:00
Lioncash
ce806d8c05 Fixed a mismatched delete within PSPGamedataInstallDialog.cpp. Should be delete[]. 2013-10-02 19:05:21 -04:00
mgaver
6be671b8ec Update PSPOskDialog.cpp 2013-09-29 17:12:45 +09:00
The Dax
1c9c2576eb Add comments back in. I promised Unknown I'd add them back in. 2013-09-28 18:18:49 -04:00
The Dax
2f9a909697 Remove unused extern. 2013-09-28 18:15:40 -04:00
Henrik Rydgard
8d1fce2935 Update lang 2013-09-28 20:07:57 +02:00
Unknown W. Brackets
ab189749eb Fix older savestates no longer loading. 2013-09-27 22:46:06 -07:00
shenweip
3da79bdeae Fix savedata to support old savedata. 2013-09-27 23:57:08 +08:00
shenweip
dbb16517d2 Forget DoState. 2013-09-27 23:10:31 +08:00
shenweip
a883fbd155 Add some comments. 2013-09-27 23:01:27 +08:00
shenweip
7bb798edb6 Implemented sceUtilityGamedataInstallUpdate. 2013-09-27 22:52:25 +08:00
Henrik Rydgård
a757457ec2 Merge pull request #3933 from mgaver/patch-7
Update PSPOskDialog.cpp
2013-09-27 02:47:38 -07:00
Henrik Rydgard
6143cfabd9 Fix encoding of PSPOskDialog so it works on the build bot. Oh no, not another of these... 2013-09-26 17:39:36 +02:00
mgaver
a475691171 Update PSPOskDialog.cpp 2013-09-27 00:29:04 +09:00
raven02
deaf86a433 Align OSK button bit better 2013-09-26 21:26:19 +08:00
The Dax
3cc07ec1af Let LTRIGGER cycle languages backward. 2013-09-25 17:33:22 -04:00
The Dax
a7a416fa88 Pull language names from langregion.ini. 2013-09-25 17:17:17 -04:00
The Dax
546a506c62 Be consistent with braces. 2013-09-25 16:52:18 -04:00
The Dax
17d52ce07c Adjust some of the text to look better. 2013-09-25 16:25:26 -04:00
The Dax
7b6414e78d Overhaul the OSK. Select now acts as a shift button(swaps between upper/lower case; in the case of Korean, it does nothing. In the case of Japanese, it swaps Katakana/Hiragana). R Trigger now acts as a language selector, cycling through the 5 keyboard languages(English, English full-width, Japanese, Korean, Russian). 2013-09-25 16:18:07 -04:00
The Dax
1061d6193c Remove some unused stuff. 2013-09-25 13:52:41 -04:00
The Dax
90c21a370c Add Full-width Latin keyboard(upper and lower cases), and allow OSK to input characters as long as it's <= FieldMaxLength. This should allow Valkyria Chronicles II to have correct password entry on all platforms. 2013-09-25 13:50:50 -04:00
The Dax
d102baacd0 Prep PPSSPP for Visual Studio 2013. 2013-09-17 10:27:06 -04:00
Unknown W. Brackets
887a61ae56 Make it possible to add new sections optionally. 2013-09-15 07:58:52 -07:00
Henrik Rydgård
82ee817647 Convert to new-style DoState 2013-09-15 09:53:24 +02:00
Henrik Rydgård
52e4a7cf5d Merge branch 'patch-1' of https://github.com/shenweip/ppsspp into shenweip-patch-1 2013-09-15 09:46:52 +02:00
Unknown W. Brackets
50e9e45d65 Check version in each DoState() func.
They bail on PointerWrap error or bad version.
2013-09-14 20:23:03 -07:00
shenweip
c018281509 fix style 2013-09-14 00:39:14 +08:00
shenweip
41dfea3150 Add PSPGamedataInstallDialog 2013-09-13 23:05:11 +08:00
The Dax
58aab2eeb8 Simplify NativeKeyboard, and only copy the amount of bytes of the output plus null terminator. 2013-09-11 15:42:32 -04:00
Unknown W. Brackets
db7496a37c Write only changed characters from OSK. 2013-09-11 08:04:01 -07:00
Unknown W. Brackets
5352432d8f Don't copy a negative size in savedata.
Not sure what's correct here, Street Fighter Alpha 3 passes -1.
It seems to call it twice, so probably the first time is to get the size?

Fixes #3722, thanks @thedax.
2013-09-10 22:23:47 -07:00
Unknown W. Brackets
e75ea49a66 Fix #3706, custom save dialog dates. 2013-09-10 02:09:18 -07:00
Unknown W. Brackets
9fb64183e6 Don't write more than the savedata buffer.
Fixes Numblast when there's savedata, probably others.
Could use more testing.
2013-09-10 01:46:49 -07:00
Henrik Rydgard
8c88dff5a4 More log categories, use them (and existing ones). Improve log config. 2013-09-07 22:02:55 +02:00
Henrik Rydgård
8996bac23e Merge pull request #3631 from lioncash/master
Remove a redundant wcsncat call.
2013-09-07 08:45:49 -07:00
Lioncash
78f6808ece Remove a redundant wcsncat call.
Just makes the else statement the dominant branch.
2013-09-04 15:05:28 -04:00
sum2012
f941b09909 better fix 2013-09-04 23:14:39 +08:00
sum2012
3d20b8d7b0 Fix crash in debug build 2013-09-04 20:35:34 +08:00
sum2012
6358f4ec62 Fix Summon Night 5,when there is a save,make new game would crash 2013-09-04 20:18:21 +08:00
The Dax
91fe3a8d4c Remove old comment since this now supports wchar/Unicode. 2013-08-27 08:54:41 -04:00
The Dax
d5c4f6673c Switch from u32_le to u32, and truncate the user's input if it's too long(so that they still get something entered. It's probably confusing not to enter something). 2013-08-27 08:46:54 -04:00
The Dax
3c303925c9 Change u32_le to u32. 2013-08-27 08:41:59 -04:00
The Dax
f70faaa0c2 Terminate the loop early if it's going to overflow; there's no reason to keep riding it out. Also fix use of uninitialized variable. 2013-08-27 08:08:06 -04:00
The Dax
2e25f00585 Really prevent the possible buffer overflow. This is getting silly. 2013-08-27 08:02:42 -04:00
The Dax
58ca962d89 Prevent possible buffer overflow. 2013-08-27 07:44:32 -04:00
The Dax
05b860c167 Win32: Update OSK bypass with Unicode/wchar/wstring support. 2013-08-27 07:36:46 -04:00
adrian17
06a015983a Fixed some doubled semicolons 2013-08-25 19:43:18 +02:00
Unknown W. Brackets
1ed8edb0d3 Avoid some dangerous hex constant widths. 2013-08-22 23:23:48 -07:00
Unknown W. Brackets
83373b8d87 Fix a pointer ARRAY_SIZE() compare (eek.) 2013-08-12 23:33:40 -07:00
Unknown W. Brackets
008052e6d6 Fix some variable hiding warnings. 2013-08-12 23:32:38 -07:00
Unknown W. Brackets
c8716d9a02 Fix a few minor typos + small reporting change. 2013-08-12 23:02:39 -07:00
Henrik Rydgard
43978f0ed6 Auto-create .nomedia file on Android to hide savedata icons from Gallery 2013-08-12 21:49:02 +02:00
Yaroslav
62835aad40 Make more strings translatable. 2013-08-11 22:25:50 +07:00
Henrik Rydgard
51ffdfa132 Rename gpuStats.numFrames to numVBlanks. Switch to using numFlips for things like cache expirations. 2013-08-07 22:34:00 +02:00
The Dax
d549337080 Tidy up some newlines. 2013-08-06 19:40:59 -04:00
The Dax
f9067e15c9 Remove old comment, change another one, and change MenuScreens.cpp to use the new class Host's InputBoxGetString. 2013-08-06 19:36:51 -04:00
The Dax
40b1c6298a Fix Headless build error introduced by #3063. 2013-08-06 19:28:43 -04:00
Henrik Rydgard
993d3b01de Android buildfix 2013-08-06 19:00:32 +02:00
The Dax
4a2605d85e Switch to strncat instead of sprintf. 2013-08-05 23:46:00 -04:00
The Dax
b9541d9a15 Switch to size_t instead of u32. 2013-08-05 23:29:59 -04:00
The Dax
1da0454508 Add support for changing the InputBox's title to the description text provided by the game(or the emulator itself). If none is provided(empty string), fall back to a default string. 2013-08-05 23:17:26 -04:00
The Dax
22bceea46c Remove old comment, and change length value. 2013-08-05 22:49:04 -04:00
The Dax
4570d83c05 Fix crash in InputBox.cpp by offering an overloaded func which takes a size, and use it in MenuScreens.cpp / PSPOskDialog.cpp. 2013-08-05 22:45:51 -04:00
The Dax
d20ac3c4c2 Fall back on "VALUE" if for some reason we can't get the initial text. 2013-08-05 22:15:10 -04:00
The Dax
db00010eb2 Support initial text from the oskParams struct, instead of hard-coding "VALUE". 2013-08-05 22:12:51 -04:00
The Dax
78ab002fde ifdef away NativeKeyboard for non Win32 platforms, for now. 2013-08-05 21:50:21 -04:00
The Dax
80953ac56d Win32: Enable user to change emulated PSP nickname from the menu screens by popping a dialog box.
Win32: Enable user to bypass the in-game OSK by using the same dialog box. It doesn't support non-Roman characters yet.
2013-08-05 21:39:06 -04:00
Unknown W. Brackets
0b5bdeb1d3 Fix some compile failures under big endian. 2013-07-28 21:04:17 -07:00
raven02
e75f647bc4 Fix the YES/OK/No button sizing and code cleanup 2013-07-29 00:31:01 +08:00
Unknown W. Brackets
777074cfe1 Switch to _le memory layout specs in dialogs. 2013-07-27 15:30:18 -07:00
raven02
12a3a42d9a Buildfix 2013-07-21 17:59:04 +08:00
raven02
4c9422088b Only show OK button when (flag & DS_OK) in message dialog 2013-07-21 17:52:04 +08:00
raven02
cfd8ef494a Add text shadow to Save Dialog 2013-07-20 21:33:40 +08:00
raven02
00fe237f45 Fix YES/NO selection color in save dialog 2013-07-13 22:56:46 +08:00
raven02
3382e73063 Fix YES/NO background color in save dialog 2013-07-10 11:20:24 +02:00
Unknown W. Brackets
a32cf817ff Fix some minor warnings. 2013-07-07 20:31:04 -07:00
raven02
d28dbffe68 Fix uninitialized variable in PSPMsgDialog 2013-07-03 08:13:16 +08:00
Lioncash
ea830774c8 Fix a missing 'break' in a date formatting switch statement in PSPSaveDialog.cpp. 2013-07-02 16:28:34 -04:00
raven02
66c1f59b42 Small fix to right border 2013-07-01 21:07:52 +08:00
raven02
ae796ad5c7 Add fake glowing effect to save icon 2013-07-01 20:42:10 +08:00
raven02
2db74a7088 Use "NEW DATA" as real PSP does for new save 2013-07-01 07:39:36 +08:00
raven02
78742a0ddb Match transition in save dialog as real PSP does 2013-07-01 07:39:27 +08:00
raven02
0c22bcf2e4 Fix wrong YES/NO color of save dialog 2013-06-29 04:58:44 +08:00
raven02
fa138b9354 Quick fix sizing 2013-06-29 04:31:17 +08:00
raven02
1ecde43163 Match the font size of save dialog with real PSP 2013-06-29 04:28:50 +08:00
raven02
5b920e1d86 Add square icon to LOAD/SAVE/DELETE 2013-06-29 03:37:30 +08:00
raven02
1f9846e5c4 Minor sizing fix 2013-06-29 01:17:36 +08:00
raven02
c4b0db4d2f Match message dialog with real PSP 2013-06-29 01:02:55 +08:00
Unknown W. Brackets
c36fa5bd76 Fix typo breaking delete button in OSK. 2013-06-26 08:07:21 -07:00
Lioncash
76165a8815 Fixed incorrect る/ル misplacements in the Japanese Hirigana/Katakana characters. Replaced them with the appropriate ろ/ロ character.
Fixes issue 2468.
2013-06-25 17:10:56 -04:00
Lioncash
5de2adcead Fixed missing Japanese characters in the OSK.
Also added the vowel lengthening character to Katakana and Hirigana
2013-06-25 16:59:40 -04:00
Lioncash
b823bb7543 Change PSPPointer function name Valid to IsValid.
Improves readability and shows intent better.
2013-06-25 09:51:39 -04:00
Unknown W. Brackets
a94640f112 Fix a few null checks in savedata.
Fixes #2456.
2013-06-24 23:02:57 -07:00
Unknown W. Brackets
f1659a228c Dumb typo. 2013-06-24 08:38:06 -07:00
Henrik Rydgård
aab66ad623 Merge pull request #2443 from raven02/patch-12
Add text shadow to Yes/No/Enter/Back button
2013-06-24 08:18:26 -07:00
Unknown W. Brackets
ab353a4624 Compare with the old savedata params, not current.
Some savedata modes make changes that aren't flushed to memory right away.
Although, maybe/probably they shouldn't...

Fixes #2440, fixes #2439 (which is a duplicate.)
2013-06-24 07:59:23 -07:00
raven02
b1c910b5b7 Add text shadow to Yes/No/Enter/Back button 2013-06-24 22:56:44 +08:00
Sacha
5ce2f2abcc Blackberry Buildfix. 2013-06-24 21:22:05 +10:00
Unknown W. Brackets
9032fc274f Reload the savedata request if it changes.
This happens in "Where Is My Heart?", and if it's ignored the save is
created with the wrong name and cannot be loaded properly later.
2013-06-23 22:30:23 -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
8734b29105 Return a bind value in FILELIST, tweaks. 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
73acbe556d Use the specified game/save name for SIZES.
It doesn't use the global one (not sure why...)
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
63ceec35ac For AUTOSAVE/MAKEDATA type modes, "" is valid.
Don't try to use the saveNameList in this case, use "".
2013-06-23 22:22:22 -07:00
raven02
1a46843996 Add text shadow to message dialog that match real PSP 2013-06-24 01:01:55 +09: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
Unknown W. Brackets
eb1f39f0eb Use the saveName by default in MAKE/WRITE/READDATA.
Suspected this, but wasn't sure.  Tests confirm it works like AUTOLOAD.
2013-06-22 14:48:09 -07:00
Unknown W. Brackets
8fe9620350 Always use iButtonPreference, fixes #2390. 2013-06-21 17:45:39 -07:00
raven02
de4d970ab6 Toggle to adjust VPS/FPS/Both , new timeFormat/dateFormat/buttonPerference 2013-06-19 15:09:01 +08:00
Henrik Rydgård
c4abec3560 Add option for very transparent touch buttons 2013-06-17 20:28:22 +02:00
raven02
a1f6a23974 Use bit longer horizontal lines 2013-06-16 22:53:13 +02:00
Henrik Rydgard
f836517853 MsgDialog: Have the text WRAP_WIDTH match the horizontal lines. Fixes #2288. 2013-06-15 23:55:23 +02:00
Henrik Rydgård
4437e0dfc7 Merge pull request #2263 from raven02/master
Quick fix wrong sizing of CIRCLE image and misc UI refinements
2013-06-15 02:17:38 -07:00
raven02
26ec4c283f Minor fix to the correct font scale 2013-06-15 16:29:46 +08:00
raven02
a9363292d6 Better align the message context in message dialog 2013-06-15 13:09:41 +08:00
aquanull
e52ac677c0 Quick Save Dialog workaround. 2013-06-11 18:21:48 +08:00
Henrik Rydgård
cf7fafc15c Merge pull request #2191 from aquanull/PSPDialog
Psp dialog improvements
2013-06-11 01:49:34 -07:00
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