Unknown W. Brackets
eba67d5fcd
SaveState: Show a warning if saved after savestate.
...
If you load a save state from before you created savedata (or from a
different path of savedata), some games will refuse to save. This shows a
warning since it can be a confusing situation.
We could potentially add an undo for loading state, to give an option for
getting back after this warning.
2021-08-07 00:01:20 -07:00
Henrik Rydgård
f4a6d291e1
Common: Capitalize setCurrentThreadName().
2021-04-30 23:02:36 -07:00
Unknown W. Brackets
7b5d8bc38f
Utility: Move dialog classes to heap.
...
This makes it easier to properly reset them on game reset.
2021-04-06 21:59:40 -07:00
Unknown W. Brackets
fe83f21df5
PPGe: Remove ENTR hack, fix string concat.
...
Sanitize first, then concatenate. This replicates the firmware behavior
nicely.
2021-03-29 00:21:26 -07: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
Unknown W. Brackets
e7b968be73
Debugger: Notate Memcpys directly as well.
2021-02-15 15:01:23 -08:00
Henrik Rydgård
5ed5947804
Merge pull request #13943 from unknownbrackets/dialog
...
Dialog: Simulate volatile memory lock behavior
2021-02-15 16:47:06 +01:00
Henrik Rydgård
1c3c384289
Merge pull request #14079 from unknownbrackets/ppge-aspect
...
Savedata: Show save icons with proper aspect ratio
2021-02-15 11:20:41 +01:00
Unknown W. Brackets
0ffac20fcd
Common: Include unistd.h before ctime on mingw.
...
This is required for localtime_r and similar to be available.
2021-02-14 10:30:10 -08:00
Unknown W. Brackets
2c165c9b6d
Windows: Fix improper case or missing includes.
...
As per mingw errors/warnings.
2021-02-14 10:30:10 -08:00
Unknown W. Brackets
f798d9fe4b
Savedata: Show save icons with proper aspect ratio.
...
This mainly matters for Minis.
2021-02-07 23:39:12 -08:00
Unknown W. Brackets
c2415d7593
Savedata: Show corrupted data more clearly.
...
Include the folder name and show a darkened icon so it's clearer.
2021-02-07 23:18:39 -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
shenweip
eeb51f2d59
Don't display data info as new data when saving done.
2020-12-14 00:37:57 +08:00
Henrik Rydgård
4f43cff5ca
Move fileutil, net, image loaders, ui to Common. ( #13506 )
...
* Move and rename file_util/fd_util to Common/File/FileUtil and DirListing
Let's also move net while we're at it.
Move the ZIM/PNG loaders over to Common.
Move the UI framework into Common
iOS buildfix
* Buildfix
* Buildfixes
* Apple buildfix
* This typo again..
* UWP buildfix
* Fix build of PPSSPPQt, such as it is (it's not in good condition...)
* Guess what? Another buildfix.
2020-10-04 20:48:47 +02:00
Henrik Rydgård
f82754e8b4
Merge pull request #13507 from shenweip/savedata-2
...
Savedata:Improves the performances according to some tests.
2020-10-04 19:49:18 +02:00
shenweip
81ad9a930a
SaveData:Displays all saves like a PSP for LISTALLDELETE mode.
2020-10-05 00:00:28 +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
shenweip
c84f9542d7
Savedata:Corrects the performances when the data is broken.
2020-10-01 15:41:27 +08:00
Henrik Rydgård
15382d5f94
Move threading utils from native to Common
2020-10-01 09:27:25 +02:00
shenweip
925944d5b2
Savedata:Improves the deleting functions.
2020-10-01 00:39:14 +08:00
Henrik Rydgård
ed88761ecc
Merge ext/native/stringutil.cpp/h into Common/StringUtils.cpp/h.
2020-09-29 15:51:51 +02:00
shenweip
290efbc349
Check whether there may be more than one save file names by mode.
2020-09-15 21:48:55 +08:00
Henrik Rydgård
5ec2da0f2d
Move Section out of IniFile so it can be forward declared. Unlocked further improvements to build speed.
2020-08-10 15:53:52 +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
1dc5ee424b
SaveState: Split out Do types to reduce headers.
2020-08-10 08:03:44 +00:00
Unknown W. Brackets
4b4e3432cd
SaveState: Split Do() into a separate header.
2020-08-10 08:03:41 +00:00
Henrik Rydgård
79b3352b67
Merge branch 'ppge-scroll' of https://github.com/unknownbrackets/ppsspp into unknownbrackets-ppge-scroll
2020-07-19 14:09:24 +02:00
Unknown W. Brackets
500107a540
Savedata: Correct AM/PM and time/date settings.
...
The defaults and exposed system param values were out of sync.
2020-07-14 18:59:23 -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
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
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
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
ed10b69b17
Savedata: Show confirm save without faded icon.
...
See #9632 .
2018-09-01 14:40:44 -07:00
Unknown W. Brackets
718053e7fc
Savedata: Return error codes on WRITEDATA/MAKEDATA.
2018-08-11 16:35:58 -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
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
Unknown W. Brackets
53a8e4213d
Core: Fix PPGe text drawing with missing icon.
2017-04-24 09:37:55 -07: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
Henrik Rydgard
03dab0fdbd
More UWP prep
2017-02-25 09:57:22 +01:00
Unknown W. Brackets
29f5763d32
Fix some warnings.
...
The enum type was not hurting anyone, since the values were the same.
2016-09-10 20:32:37 -07:00
Unknown W. Brackets
b71b1bbff9
Initially count the dir for save info size.
...
Should help #6068 , verified by the sizes test and JpcspTrace results.
2015-11-15 10:29:13 -08:00