Commit graph

43 commits

Author SHA1 Message Date
Herman Semenov
17ecee1715 Fixed return copies from functions and const ref params 2024-04-02 18:37:00 +03:00
Henrik Rydgård
c5791764d8 Make the i18n T function use std::string_view
Buildfixes, crashfixes

One more

Android buildfix

Buildfix Qt
2024-02-12 18:44:39 +01:00
Herman Semenov
af41281761 [Core/Dialog/ELF/FileSystems/HLE/HW/Util] Added const reference for function params 2023-12-14 14:22:24 +03:00
Unknown W. Brackets
f44852bb18 Global: Cleanup virtual/override specifiers.
Also missing virtual destructors, hidden non-overrides, etc.
2022-12-10 21:13:36 -08:00
Henrik Rydgård
70b9dcc9a3 Initialize a bunch of Dialog structs 2022-08-18 16:46:22 +02:00
Unknown W. Brackets
88fe2e9863 Dialog: Use dialog type header more consistently. 2021-02-27 13:43:12 -08:00
Unknown W. Brackets
aa13f5afb7 Dialog: Track type id on dialog class. 2021-02-27 12:01:52 -08:00
shenweip
c84f9542d7 Savedata:Corrects the performances when the data is broken. 2020-10-01 15:41:27 +08: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
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 Rydgard
26a2d42731 Big mutex overhaul - remove our custom ones, make them non-recursive where possible 2017-02-28 11:40:29 +01:00
Henrik Rydgard
50be4e72b2 Get rid of our own silly reimplementation of std::thread 2017-02-27 20:51:36 +01:00
Lioncash
b1901fbad2 Core: Remove unimplemented class function declarations 2015-10-18 10:55:11 -04:00
Henrik Rydgård
a71fbccfbc Warning fixes for new LLVM on mac (warns on inconsistent usage of override) 2015-09-17 20:29:37 +02:00
Unknown W. Brackets
e0f85a9c6b Native merge part 1: skip native/ in includes. 2015-09-06 12:19:33 -07:00
Lioncash
cac632424c Core: Add missing override specifiers 2014-12-08 15:20:31 -05:00
Unknown W. Brackets
24f365d94c Return an error for new savedata on a full stick. 2014-11-02 12:47:09 -08:00
daniel229
70fac3a65e savedata 2014-10-03 15:16:12 +08:00
Unknown W. Brackets
01d3dcdc99 Prevent a possible race condition in save/load. 2014-06-29 17:44:56 -07:00
Unknown W. Brackets
e3c6876365 Show a message when saving/loading fails. 2014-06-29 17:42:20 -07:00
Unknown W. Brackets
553c870ee9 Execute savedata io on a separate thread.
Some savedata is sorta large, like 1MB, this makes it save more smoothly.
2014-06-29 17:32:57 -07:00
Unknown W. Brackets
51909a3256 Separate out io actions from save dialog display. 2014-06-29 17:07:04 -07:00
Unknown W. Brackets
8d29b583e8 Reduce a few Core/Dialog/ includes. 2014-03-15 10:52:13 -07:00
lioncash
b9886942a7 Fix some vertical alignments in misc Core source files. 2014-03-03 11:16:53 -05: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
e00a244d1e Handled fixed-length strings in savedata properly. 2014-01-24 01:21:13 -08: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
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
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
7d17ed8a8e Correctly shutdown dialogs on game reset. 2013-05-31 01:41:04 -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
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
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
Unknown W. Brackets
fd2f609367 Save the savedata and other dialog state.
Although, hopefully it wouldn't be running anyway.
2012-12-28 13:55:31 -08:00
Unknown W. Brackets
709df11c9e Stub out mode 12 so games think it's working. 2012-12-26 17:33:56 -08:00
Unknown W. Brackets
f8f581794f Make sure sceUtility funcs all return error codes.
Right now, everything is 0, but before it wasn't returning anything.
Returning 0 actually made some games start working right.
2012-12-25 01:07:04 -08:00
Xele02
61d116b5f1 Copy right size of save request. 2012-12-24 01:22:28 +01:00
Henrik Rydgard
fa7de38ccf PSPSaveDialog: Style/warning fixes. Add a way to return errors (unused). 2012-12-19 21:23:52 +01:00
Xele02
7de10d223b * Create class for Save and Message dialog for cleaner code.
* Update Save dialog to work more like the real one on PSP
* Correct some return value for Save Dialog.
2012-12-10 13:08:54 +01:00