Commit Graph

469 Commits

Author SHA1 Message Date
Unknown W. Brackets
6c8f310322 Draw 16, not 15 characters max in the OSK.
This is a convenient number because passwords in some games are 16
characters long.  16 seems more likely to be choosen by developers as a
limit, and still fits well enough within the bounds.
2014-02-02 15:50:02 -08:00
Unknown W. Brackets
77acd0729f Use the latch in dialogs throughout.
This makes it so that rapid fire works for them as well.
2014-02-02 15:48:29 -08:00
Henrik Rydgård
c9c179d233 Merge pull request #5294 from thedax/netConfDialog
Flesh out the netconf dialog a bit by having it display an error, and add a stub for sceNetApctlDisconnect.
2014-02-02 10:49:25 -08:00
sum2012
ffc66b7859 Fix logic 2014-02-02 02:16:51 +08:00
sum2012
0498b9d4a5 Fix PSPSaveDialog::Update
Fix Miyako lock up in saving screen
2014-02-02 00:55:54 +08:00
The Dax
abe98775b2 Add/clarify some comments. 2014-01-31 23:18:34 -05:00
The Dax
9174e9772d Shorten translation key. 2014-01-31 19:20:26 -05:00
The Dax
7be82a89ab Flesh out the netconf dialog a bit by having it display an error, and add a stub for sceNetApctlDisconnect. 2014-01-31 19:08:52 -05:00
sum2012
b08cef4353 Fix logic 2014-01-31 17:18:53 +08:00
sum2012
ee5912bc5c Fix formating 2014-01-31 15:58:22 +08:00
sum2012
4c4d7c7a14 Move to PSPMSgDialog 2014-01-31 15:00:05 +08:00
Unknown W. Brackets
2bdaf090e1 Don't set the file list entry pad to anything.
Per tests on a PSP.
2014-01-28 00:37:13 -08:00
sky-zer
2ba30e3f97 SceUtilitySavedataFileListEntry correction. 2014-01-28 00:24:56 +04:00
Ced2911
ebbe84450a [Core] Endian fixes 2014-01-26 14:27:53 -08:00
Unknown W. Brackets
e00a244d1e Handled fixed-length strings in savedata properly. 2014-01-24 01:21:13 -08:00
Unknown W. Brackets
05ad9721d9 Allow msgdialog override of ok/cancel button text.
Per tests, and hints from JPCSP.
2014-01-23 01:02:41 -08:00
Unknown W. Brackets
bcdcd528b2 Validate options in MsgDialog v3 per tests. 2014-01-23 00:41:42 -08:00
Unknown W. Brackets
fa1c5e0f87 Oops, only reset MsgDialog result on success. 2014-01-23 00:41:26 -08:00
Unknown W. Brackets
278359b208 Set msgdialog result to 0 after displayed.
This might fix anything checking the result code without zeroing it first.
2014-01-22 08:18:56 -08:00
Unknown W. Brackets
f74e29977f Abort on a message dialog just moves to finished.
Still need to shutdown.  Fixes #5177.
2014-01-22 08:17:21 -08:00
Henrik Rydgard
9bde25dfa9 Moving the lang mapping to Config clears up some obcure file-to-file build dependency.
Should fix the build.
2014-01-03 19:04:43 +01:00
Henrik Rydgård
00c32ddadb Mostly get rid of including "Globals.h" 2013-12-30 10:17:11 +01:00
Henrik Rydgård
87f203a5b8 More include untangling 2013-12-29 23:44:35 +01:00
Henrik Rydgård
79ff2f0ba8 Start untangling our include mess a little. 2013-12-29 23:34:45 +01:00
Unknown W. Brackets
b2795b31c0 Only draw visible savedata icons, fix leak.
Fixes #4870.
2013-12-17 08:07:30 -08:00
Unknown W. Brackets
f7bad51cc7 Clip in PPGe, fixing issues in softgpu.
We were just drawing wrong, so softgpu was correct.
2013-12-15 11:59:23 -08:00
The Dax
9ea907d7b7 Update comment in PSPDialog::IsButtonHeld. 2013-12-14 19:05:19 -05:00
The Dax
92ab821f14 Allow the OSK text input buttons to be held and thus repeat. 2013-12-14 18:18:18 -05:00
pal1000
95a3660a34 Visual Studio 2013 buildfix 2013-12-12 16:11:36 +02:00
Henrik Rydgard
70174ac405 Warn fix, cleanup, update buttons.svg 2013-12-12 12:08:36 +01:00
shenweip
389fee29b5 Limit field drew number,draw back of string if length is greater than limit. 2013-12-12 13:10:42 +08:00
Sacha
108edd4093 Buildfix for Windows Qt. Enable PSP model SLIM on Symbian (works fine due to lack of mmap). 2013-12-10 18:49:25 +10:00
The Dax
814a81b692 Allow held directional buttons to scroll up and down the list repeatedly. 2013-12-08 20:33:16 -05:00
Unknown W. Brackets
2278bee910 Fix double free when saving. 2013-12-08 14:46:05 -08:00
Unknown W. Brackets
0636a65ad9 Use ReadEntireFile() a few more places.
This fixes one or two minor memory leaks.
2013-12-08 12:02:37 -08:00
Unknown W. Brackets
2d3f0758c1 Dynamically manage PPGe images so 50+ are okay.
Otherwise, we try to allocate all at once and could run out of ram.

Should fix #2242.
2013-12-08 11:06:18 -08:00
Sacha
a0c5af288c Add InputBox as a platform-specific system function instead of a host function. Enable it on all Qt platforms. Add Set Nickname to mobile Qt. 2013-12-08 20:16:34 +10:00
Henrik Rydgard
32f479b0a6 Assorted log spam reductions.
Also let Java know of some important events. Not used for anything yet.
2013-12-04 17:43:00 +01:00
Henrik Rydgard
c499be9769 Merge branch 'adhoc-support' of https://github.com/Kyhel/ppsspp into Kyhel-adhoc-support
hrydgard here: I switched to our implementation of thread.h and removed the "Windows7SDK" things for now.

Conflicts:
	Core/Core.vcxproj.filters
2013-11-27 21:21:32 +01:00
shenweip
dfad2ba845 Avoid a dangerous zero. 2013-11-26 23:45:45 +08:00
Kyhel
0f7f90d0ac Added windows changes for a unified build. Added Dialog fix which
prevented from saving after going online. Added windows « errno » use
redefinition to suit WSAGetLastError and protocl needs.
2013-11-25 02:57:08 +01:00
Henrik Rydgård
c9475b17b8 Merge pull request #4514 from shenweip/patch-3
Skip the read of secure files which are not in SFO.
2013-11-14 14:02:21 -08:00
shenweip
37e477f6e5 Add a log and fix typo. 2013-11-14 22:49:26 +08:00
Henrik Rydgård
66581c4d83 Merge pull request #4517 from Kingcom/SaveDialog
Partially implement SCE_UTILITY_SAVEDATA_FOCUS_NAME
2013-11-12 01:42:20 -08:00
Kingcom
7f9182033e Partially implement SCE_UTILITY_SAVEDATA_FOCUS_NAME 2013-11-12 10:10:56 +01:00
shenweip
d3fbbebe16 Only skip when load fail. 2013-11-12 12:14:16 +08:00
shenweip
c5a6e4653b Only check in secure mode. 2013-11-12 12:08:11 +08:00
shenweip
02ceb312cf Skip the load of secure files which are not in SFO. 2013-11-12 11:21:26 +08:00
shenweip
0a9cf9b1bc Turn up logging. 2013-11-10 10:40:56 +08:00
Henrik Rydgard
a028f07951 Turn down some logging. 2013-11-08 18:52:07 +01:00
shenweip
740f49c7a1 Add a check and comment. 2013-11-04 00:13:00 +08:00
shenweip
8a26da6e45 Load another files of save. 2013-11-03 23:52:16 +08:00
shenweip
b9d655f602 Code CleanUp,make it clearer. 2013-11-03 23:10:05 +08:00
shenweip
07e39b2247 Implemented DELETEDATA mode of saveDialog. 2013-11-02 19:48:25 +08:00
Igor Calabria
0574e6e1d1 More functions and support for games that use the netdiag 2013-10-29 21:39:45 +00:00
shenweip
80db1e00cc Update comment. 2013-10-29 02:14:39 +08:00
shenweip
1abcf8765d Quick fix for savedata. 2013-10-29 01:41:48 +08:00
shenweip
f4b60f22b0 Add a check to avoid the same savedatas are set into SaveDataList. 2013-10-28 00:07:32 +08:00
shenweip
e699eb95b2 Add support for saveNameListData "<>". 2013-10-27 19:03:14 +08:00
Henrik Rydgård
2b278d4c13 Buildfix 2013-10-23 17:00:10 +02:00
Sacha
9e20e1a297 Fix time compares in save focus. Was breaking platforms (like QNX) where time is stored as a 64-bit unsigned value (nanoseconds). 2013-10-23 23:25:25 +10:00
Sacha
1af2f99959 Initialise everything in the SaveFileInfo to 0.
We were getting std::tm initialised to random values which non-existent files become the preferred save.
2013-10-23 23:19:50 +10:00
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