Commit graph

704 commits

Author SHA1 Message Date
Unknown W. Brackets
e85a8b0f5b Global: Cleanup class init order warnings. 2021-02-15 11:59:45 -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
788e8c3bbc Io: Truncate reads/writes to valid memory.
A PSP might crash in these cases, but it's better if we avoid a crash.
2021-02-13 08:24:39 -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
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
vnctdj
5dd71db818 Improve some i18n things
- reuse some translations
- move some strings to a more suitable category

I will adapt the lang .ini files accordingly.
2021-01-09 18:50:00 +01:00
Unknown W. Brackets
3316633c60 Savedata: Reduce some noisy logging.
These aren't errors.
2021-01-05 07:21:41 -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
20df3d2c8a Minor comment. 2020-12-14 00:42:09 +08:00
shenweip
eeb51f2d59 Don't display data info as new data when saving done. 2020-12-14 00:37:57 +08:00
shenweip
721696b9bc Fixes incorrect date of savedata.
Updates the date to the latest.
2020-12-14 00:27:23 +08:00
Henrik Rydgård
0ee996b2a0
Merge pull request #13520 from shenweip/memStickSize
Simulates memory stick size to get fixed free space.
2020-10-10 15:41:44 +02:00
ANR2ME
625faf719d Fix NetconfDialog timings to get a better message transitions. 2020-10-09 23:39:14 +07:00
shenweip
af435794d7 Savedata:Skips non-directories in LISTALLDELETE mode.
Fixes https://github.com/hrydgard/ppsspp/issues/7685#issuecomment-703412467
2020-10-08 23:59:36 +08:00
Henrik Rydgård
0e3a84b4a8 Move most GPU things to Common.
It works after the move, on Windows and Android at least.

Deletes the D3DX9 shader compiler loader, which was not used.
2020-10-04 23:39:02 +02: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
f01ba6dc84 Move NativeApp.h to Common/System, split into NativeApp.h and System.h
Buildfix
2020-10-04 11:42:16 +02:00
Henrik Rydgård
9e41fafd0d Move math and some file and data conversion files out from native to Common.
Buildfixing

Move some file util files

Buildfix

Move KeyMap.cpp/h to Core where they belong better.

libretro buildfix attempt

Move ini_file

More buildfixes
2020-10-04 09:12:46 +02: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
b8c1845e3a Savedata:Supports empty file name for save/load/delete. 2020-10-01 10:03:30 +08: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
Henrik Rydgård
054acf768c Don't cache time in a variable.
A little weirdness in the code that has stuck around for a long, long
time. It's really not necessary and mostly just confusing.
2020-09-24 23:52:43 +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
72df3fd339 Try unknown's workaround for clang code gen bug. See #13187. 2020-09-13 09:13:47 +02:00
ANR2ME
423a7b2391 Fix multiplayer on Valhalla Knights 2 2020-09-05 08:58:29 +07:00
ANR2ME
7d2236db2f Increasing the shutdown delay so that there will be at least one "4=sceUtilityNetconfGetStatus()" after "0=sceUtilityNetconfShutdownStart()" instead of directly to "0=sceUtilityNetconfGetStatus()" (just like what happen when using utility.prx file with KHBBS on JPCSP) 2020-09-04 13:09:44 +07:00
ANR2ME
6a9cf0f575 An attempt to differentiate adhoc connect, create, and join. 2020-09-04 13:09:44 +07:00
Henrik Rydgård
b652f62d19 SavedataParam: Be careful with const char* to string. Might help #13187 2020-08-26 22:17:42 +02:00
Henrik Rydgård
b43698a13d Remove most instances of base/logging.h from Common, Core, GPU, more 2020-08-15 19:08:44 +02:00
ANR2ME
bd36b9dff1 Shows AdHoc and Access Point Connecting... Dialog 2020-08-13 00:59:50 +07:00
ANR2ME
d9d8c031d4 Making sure std::min/max are not overridden by windows header's min/max 2020-08-13 00:59:50 +07: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
dd909d36cc Osk: Draw shadows on all the letters. 2020-07-13 18:24:05 -07:00
Unknown W. Brackets
f16a6b8abd MsgDialog: Show better error messages.
I think the PSP really did just show error codes, but that's not a reason
to keep that confusion going.  For common save errors, let's show the
messages.

Some games, for example, simply show the no data found error when you play
for the first time and trigger anything to check for data.
2020-07-13 18:24:05 -07:00
Unknown W. Brackets
3daf536e3c MsgDialog: Allow text to be wider.
Our font is a bit different, let's add a bit more as long as the spacing
looks okay.  Reduce scale if there's a lot of non-ASCII, since the PSP's
font seemed to use smaller glyphs than ours for those chars.
2020-07-13 18:24:05 -07:00