Unknown W. Brackets
b181a93e5e
MsgDialog: Add scrollbar when message is long.
...
Some games hard wrap their messages, and PSP firmware also showed a
scrollbar. Let's do the same.
One intentional difference: trying to ensure we always show part of a
hidden line to make it clear to the user that there's more text.
2020-07-13 18:24:05 -07:00
Unknown W. Brackets
143ba22097
PPGe: Handle text shadows more consistently.
...
Don't really want them wrapping differently or etc. Let's handle
centrally so we can make them consistent and better.
2020-07-13 18:20:57 -07:00
Unknown W. Brackets
4f586f9567
PPGe: Left align messages in dialogs.
...
It was previously left aligned, but the TextDrawer was being told to
center. These are meant to just center the enclosing box of text, not the
individual lines within.
Makes Final Fantasy 3 look a lot better.
2020-05-23 19:59:56 -07:00
Unknown W. Brackets
7e70fa1627
Mp4: Cleanup some parameters.
2020-05-17 00:05:04 -07:00
Henrik Rydgård
02143cac4e
Merge pull request #12760 from unknownbrackets/ppge-spacing
...
PPGe: Fix dialog button positioning
2020-03-24 12:06:59 +01:00
Unknown W. Brackets
84cc212cfd
SaveState: Correct compat load with OSK changes.
2020-03-23 19:57:04 -07:00
Unknown W. Brackets
dbc78b437e
PPGe: Fix dialog button positioning.
...
The measure was previously the line height, but always ultimately used
as the full text height. This just makes it always full height.
2020-03-23 18:23:35 -07:00
Henrik Rydgård
d1196f2fc0
Support a few more wstring functions on non-windows platforms, due to the armips assembler.
2020-03-22 17:03:49 +01:00
Henrik Rydgård
75cdc11fdb
Text input: Clearly use 16-bit chars like the PSP, don't rely on wchar_t.
2020-03-22 16:44:19 +01:00
Unknown W. Brackets
97bc0a5245
Net: Support NETCONF_CONNECT_APNET_LAST request.
...
Also cleanup the dialog to handle timing like other dialogs. May fix
issues where it lingers "open" and prevents other dialogs from working.
2020-03-15 12:23:22 -07:00
Unknown W. Brackets
998f95786a
Android: Enable native keyboard for OSK.
...
And make Windows/Qt follow the same async behavior for input boxes.
2020-03-09 18:59:53 -07:00
Henrik Rydgård
e97e3c4218
THe proposed Hive Sweeper fix in #11025 looks right, let's just commit it.
...
Probably helps #11025 .
2020-03-10 00:01:28 +01:00
Henrik Rydgård
4501045224
Merge pull request #12691 from unknownbrackets/inputbox
...
Android: Process input prompts more clearly
2020-03-09 20:28:25 +01:00
Henrik Rydgård
94524f7893
Merge pull request #12694 from unknownbrackets/osk-limit
...
Osk: Prevent adding highlighted char past limit
2020-03-09 14:46:09 +01:00
Unknown W. Brackets
bc07a0529c
Osk: Prevent adding highlighted char past limit.
...
The display would correctly show the number of characters allowed, but you
could still end up going one past. This caused glitches in some games,
see #9821 .
2020-03-09 06:40:30 -07:00
Unknown W. Brackets
ab38c387ad
Io: Correct some error handling for OpenFile().
...
See #12433 .
2020-03-08 21:22:21 -07:00
Unknown W. Brackets
efceb031ce
UI: Make System_InputBox API asynchronous.
...
Doing this as a precursor to cleaning up the Android madness.
2020-03-08 18:59:17 -07:00
Henrik Rydgård
45d94c4877
Switch all images to dynamic lookup in the atlas by string ID.
...
SLN fix
It works, but with the wrong images and the wrong characters!
Fix another bug in atlastool's binary output
Get Android building again.
Oops, didn't mean to disable this permanently.
Error checking
Minor cleanup
Gotta tweak my git ignores...
Regenerate metadata
2020-03-01 12:06:47 +01:00
Unknown W. Brackets
5009698cc0
Core: Use a shared_ptr for i18n categories.
...
This does not make them thread safe, but it reduces the chances of a crash
a bit (see #12594.)
2020-02-09 07:35:16 -08:00
Unknown W. Brackets
913121cf2b
Io: Consistently use error codes with OpenFile().
...
This gets rid of OpenWithError(), and just always returns a negative value
on error for OpenFile(). Also fixed the sequence rollover, which could've
returned 0.
0 should be considered a valid handle ideally, but left it never returning
0 to simplify cleanup in some areas.
2019-10-20 11:03:37 -07:00
Henrik Rydgård
bd71af24db
Fix some minor things found looking at Valgrind output
2019-02-27 13:42:00 +01:00
Henrik Rydgård
e49c488c6f
Silence a compiler warning, fix an uninitialized variable
2019-02-27 10:33:27 +01:00
Unknown W. Brackets
9a5fbe5ea5
Savedata: Truncate detail if it's too long.
...
We could add scrolling later, but this makes it more usable without ugly
text overlap, at least.
Fixes #11711 .
2019-02-16 14:52:01 -08:00
Unknown W. Brackets
2650ddae75
Savedata: Write only one secure entry.
...
Before, we were filling all the entries when the first file was saved, a
regression from 1976be4
. This caused issues in games that use a single
savedata folder for multiple secure files, such as Valkyria Chronicles 3.
2018-10-28 12:35:54 -07:00
Unknown W. Brackets
ed10b69b17
Savedata: Show confirm save without faded icon.
...
See #9632 .
2018-09-01 14:40:44 -07:00
Unknown W. Brackets
b64bb2e8ce
Savedata: Also validate icon/subdata size.
2018-08-11 17:00:15 -07:00
Unknown W. Brackets
c0ccc9449d
Savedata: Use size, not bufSize, for icons.
...
Verified by tests. Should help #8810 .
2018-08-11 17:00:09 -07:00
Unknown W. Brackets
42feade460
Savedata: Return error when bufSize is too small.
...
Mirrors what a PSP does.
2018-08-11 16:36:28 -07:00
Unknown W. Brackets
718053e7fc
Savedata: Return error codes on WRITEDATA/MAKEDATA.
2018-08-11 16:35:58 -07:00
Unknown W. Brackets
c4717fae2f
Savedata: Reset data size when retrying hash.
...
It's even possible we might've not loaded the key before, so let's play it
safe and reset everything.
The previous fix only worked in some games, when dataSize was larger than
necessary.
2018-07-28 09:41:44 -07:00
Unknown W. Brackets
1976be48ab
Savedata: Use file hash to validate hash mode.
...
This makes older PPSSPP save data also work, and also logs when save data
is detected as corrupt.
2018-06-30 12:17:52 -07:00
Unknown W. Brackets
93d96b8a32
Savedata: Map secureVersion modes correctly.
...
1 was correct, but other modes were not.
2018-06-24 15:34:27 -07:00
Unknown W. Brackets
46d7ead781
Savedata: Add validation on secureVersion param.
2018-06-24 15:30:33 -07:00
Unknown W. Brackets
aad6377580
Savedata: Return result codes from Save/Load.
...
This doesn't change anything, yet.
2018-06-24 13:28:57 -07:00
Unknown W. Brackets
c588046d99
Savedata: Respect secureVersion parameter.
...
This isn't used in many games, but see #10814 .
2018-05-28 08:42:48 -07:00
Unknown W. Brackets
208b0aa4a7
Savedata: Report secureVersion param usage.
...
Seems likely this is what's happening in #10814 , but need data from more
games.
2018-04-29 09:46:23 -07:00
aliaspider
54d9406713
fix mingw and msvc cmake builds.
2018-03-23 03:18:13 +01:00
Henrik Rydgård
c3629b4a53
Warning fixes
2018-02-04 13:42:04 +01:00
Unknown W. Brackets
d2be5beccc
Savedata: Show icon for new saves more often.
...
In fact, it may even be wrong to show the new data icon in this case...
Also fixes crashes when save title is 128 characters long.
Should improve #9632 .
2017-12-03 06:35:41 -08:00
Henrik Rydgård
ae9393cb22
Merge pull request #10014 from unknownbrackets/gamedata-state
...
Gamedata: Fix savestates for data install
2017-10-15 10:41:19 +02:00
Henrik Rydgård
6c6cdd0d68
Merge pull request #10015 from unknownbrackets/osk-limit
...
OSK: Limit allowed keyboards based on input mask
2017-10-15 10:39:33 +02:00
Unknown W. Brackets
190691f249
OSK: Limit allowed keyboards based on input mask.
2017-10-14 22:59:48 -07:00
Unknown W. Brackets
078e03c7cb
Gamedata: Fix savestates for data install.
...
Otherwise, with rewind enabled, it hangs forever.
2017-10-14 22:11:59 -07:00
Unknown W. Brackets
42c0e7d5dd
Savedata: Handle disk full properly in GETSIZE.
...
Games use these fields to determine how much more space is needed to
create savedata. Some also use it for install data.
This allows more games to properly report free space issues.
2017-10-14 21:55:38 -07:00
LunaMoo
8826c031a6
Add ini-only "Savedata Upgrade" setting.
2017-10-04 17:16:21 +02:00
Henrik Rydgård
6a1fa728d8
Remove Globals.h
2017-08-31 17:15:22 +02:00
sum2012
e5001a115f
Implemented sceUtilityGetSystemParamInt
2017-06-06 19:05:59 +02:00
Henrik Rydgård
867a1d8bb2
Buildfix, oops
2017-05-26 19:05:18 +02:00
Henrik Rydgård
21fe73c8e7
Switch strncpy to truncate_cpy in a bunch of places.
2017-05-26 19:04:08 +02:00
Unknown W. Brackets
53a8e4213d
Core: Fix PPGe text drawing with missing icon.
2017-04-24 09:37:55 -07:00