Commit graph

682 commits

Author SHA1 Message Date
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
64dbd97731 Address feedback 2021-08-04 23:22:43 +02:00
Henrik Rydgård
e73e0dc0be Fix multiple issues preventing in-game saves from working. 2021-07-19 17:34:51 +02:00
sum2012
664f02114a Add some PPSSPP's Japanese keyboard
fix #14311
2021-06-20 22:38:25 +08:00
Henrik Rydgård
f4a6d291e1 Common: Capitalize setCurrentThreadName(). 2021-04-30 23:02:36 -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
Henrik Rydgård
28065c1bc4
Merge pull request #14359 from unknownbrackets/dialog-cleanup
Move dialog instances to the heap
2021-04-07 09:26:07 +02: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
a23c9e6a41 GPU: Preconvert light vecs to Vec3f.
This might align better for simd anyway, but should also prevent any
memory over-reads.  See #14353.
2021-04-05 20:55:52 -07:00
Henrik Rydgård
e86e3cc7cd
Merge pull request #14344 from unknownbrackets/debugger-mem
Include more memory info in debugger tags
2021-04-04 11:20:33 +02:00
Unknown W. Brackets
869ef9aca7 Debugger: Tag savedata load and info. 2021-04-03 18:45:24 -07:00
Unknown W. Brackets
1b57739eb7 Debugger: Memcheck and tag loading savedata to RAM. 2021-04-03 18:28:22 -07:00
Henrik Rydgård
3a14c432ff
Merge pull request #14327 from unknownbrackets/sanitize-utf8
PPGe: Remove ENTR hack, fix string concat
2021-03-29 13:34:50 +02: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
d0303e2430 Savedata: Always write the file list to the SFO.
Matches tests on hardware using MAKEDATA, see also #8854.
2021-03-29 00:08:48 -07:00
ANR2ME
b0503d71f7 Fix Teenage Mutant Ninja Turtles Multiplayer.
Alternatively, changing NET_SHUTDOWN_DELAY_US to 501000 usec or more will also works.
2021-03-13 13:50:48 +07:00
Unknown W. Brackets
13ec384dbe Build: Explicitly include ppsspp_config.h.
This adds it to all files that use it.  Not all our builds include the
file.
2021-03-02 21:04:03 -08: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
d066b39334 Screenshot: Provide common params properly. 2021-02-27 12:51:56 -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
Henrik Rydgård
2f3bc2d373
Merge pull request #14056 from unknownbrackets/debugger-mem
Track memory allocations and writes for debug info
2021-02-21 10:18:11 +01: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
e7b968be73 Debugger: Notate Memcpys directly as well. 2021-02-15 15:01:23 -08:00
Henrik Rydgård
71b1c9dfea
Merge pull request #14150 from unknownbrackets/dialog
Dialog: Clear volatile memory on unlock
2021-02-15 23:37:55 +01: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
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