Unknown W. Brackets
f530be0969
Dialog: Prevent reschedule on shutdown start.
...
This is a bit strange, but tests seem to suggest this is correct.
A worse priority thread won't run before savedata shutdown hits 0, but the
thread that initiated shutdown runs before shutdown completes.
Fixes Freakout Extreme Freeride loading savedata.
2021-08-14 20:15:34 -07:00
Unknown W. Brackets
aecb138f90
Dialog: Avoid crash with hacked dialog start.
...
See #14727 . If a dialog shutdown is in progress and we incorrectly allow
a startup at that time, it breaks other things. This tries to at least
work around that.
2021-08-14 07:46:38 -07:00
Unknown W. Brackets
90f4098b3d
Dialog: Lock volatile on thread.
...
This means it doesn't matter if GetStatus is called.
2021-04-07 18:13:51 -07:00
Unknown W. Brackets
429b4594d0
Dialog: Use a thread to init dialogs too.
2021-04-07 18:13:46 -07:00
Unknown W. Brackets
88fe2e9863
Dialog: Use dialog type header more consistently.
2021-02-27 13:43:12 -08:00
Unknown W. Brackets
52c5f4bf95
Dialog: Respect accessThread priority on shutdown.
...
This influences shutdown timing.
2021-02-27 13:15:12 -08:00
Unknown W. Brackets
aa13f5afb7
Dialog: Track type id on dialog class.
2021-02-27 12:01:52 -08:00
Unknown W. Brackets
2b9b157151
Savedata: Eat cycles in savedata shutdown start.
2021-02-27 10:35:26 -08:00
Unknown W. Brackets
2a9dde684d
Dialog: Unlock volatile without Update call.
...
Crisis Core depends on this unlocking, likely it should really be on a
thread.
2021-02-16 19:15:09 -08:00
Unknown W. Brackets
d2348897cb
Dialog: Clear volatile memory on unlock.
...
Approximates firmware behavior.
2021-02-15 14:08:16 -08:00
Unknown W. Brackets
e42dac2fb4
Dialog: Simulate volatile memory lock behavior.
...
Also simply clear to zero, which isn't exactly correct but should be
fairly close. See #8288 (NBA Live 08 hang.)
2021-01-18 11:07:21 -08:00
Unknown W. Brackets
8bd32b6009
Dialog: Manage status only through accessors.
2021-01-18 10:46:57 -08:00
Unknown W. Brackets
4573907098
Savedata: Prevent garbage bleeding into save icons.
...
This pads out the icon data and also fixes a potential buffer overflow
during image data copy.
2021-01-03 16:26:31 -08:00
Henrik Rydgård
ff8148dd92
Move native/util, native/data and native/i18 to Common/Data.
...
Also move colorutil.cpp/h
linking build fix experiment
Delete a bunch of unused CMakeLists.txt files
CMakeLists.txt linking fix
Don't include NativeApp.h from any headers.
Android.mk buildfix
Half of the UWP fix
Buildfix
Minor project file cleanup
Buildfixes
Guess what? More buildfixes!
2020-10-04 07:28:29 +02:00
Unknown W. Brackets
b8342fb8ec
SaveState: Rename ChunkFile files to Serialize.
...
Makes more sense and less weird than ChunkFileDoMap, etc.
2020-08-10 08:04:05 +00:00
Unknown W. Brackets
4b4e3432cd
SaveState: Split Do() into a separate header.
2020-08-10 08:03:41 +00: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
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
Henrik Rydgård
21fe73c8e7
Switch strncpy to truncate_cpy in a bunch of places.
2017-05-26 19:04:08 +02:00
vnctdj
d7eba2061e
Consistently use *di for the Dialog i18n category
2015-07-01 23:26:55 +02:00
Unknown W. Brackets
e30e8937c1
Make it possible to override dialog fade out.
...
Useful to show multiple osk dialogs. Not sure if any game actually uses
this feature...
2014-02-08 17:44:14 -08:00
Unknown W. Brackets
a0262a5263
Reset savedata to NONE when stopping emulator.
...
This way the second game you play won't hang. Also fixes tests. Oops.
2014-02-08 16:48:40 -08:00
Unknown W. Brackets
67b1aee1f8
Use a time delay to change sceUtility statuses.
...
This is probably more based on IO (maybe even loading and unloading
the module for the dialog or something?) but time should approximate it.
May improve games not expecting the status to switch right away.
2014-02-08 09:39:50 -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
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
Henrik Rydgård
00c32ddadb
Mostly get rid of including "Globals.h"
2013-12-30 10:17:11 +01: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
The Dax
814a81b692
Allow held directional buttons to scroll up and down the list repeatedly.
2013-12-08 20:33:16 -05: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
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
raven02
78742a0ddb
Match transition in save dialog as real PSP does
2013-07-01 07:39:27 +08:00
raven02
fa138b9354
Quick fix sizing
2013-06-29 04:31:17 +08:00
raven02
c4b0db4d2f
Match message dialog with real PSP
2013-06-29 01:02:55 +08:00
raven02
b1c910b5b7
Add text shadow to Yes/No/Enter/Back button
2013-06-24 22:56:44 +08:00
aquanull
e52ac677c0
Quick Save Dialog workaround.
2013-06-11 18:21:48 +08: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
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
7d17ed8a8e
Correctly shutdown dialogs on game reset.
2013-05-31 01:41:04 -07: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
e1587744e4
Fix message dialog oversize
2013-05-02 23:24:59 +08:00
raven02
85d1275efd
Comsetic fix : Message dialog
2013-04-18 07:07:32 +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
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
140fd171ef
Fix some 64-bit type conversion warnings.
2013-01-19 13:48:20 -08:00