Commit Graph
661 Commits
Author SHA1 Message Date
lainon b304551747 Code readability, vec reserve() and remove excess c_str() 2022-09-30 12:31:32 +03:00
lainon fec708489a Correct cleaning string and remove unused vars 2022-09-30 12:26:30 +03:00
Unknown W. Brackets f0afc97247 Gamedata: Cleanup install request args/validate. 2022-09-18 20:39:13 -07:00
Unknown W. Brackets ce80900b75 Savedata: Return errors more correctly on load.
If the buffer isn't large enough, return an error.  See #14687, thanks
sum2012 and gid15.
For many error cases, ensure SFO data and bind are not updated on failure,
and that dataSize is forced to zero on data errors.
2022-09-13 00:10:27 -07:00
Unknown W. Brackets dd0de46ed9 Io: Use PSPPointer instead of struct temps. 2022-09-03 10:44:11 -07:00
Henrik Rydgård c9048c3748 Shrink the DeferredDrawcall struct, because why not. Assorted cleanup 2022-09-01 11:59:33 +02:00
Henrik Rydgård 70b9dcc9a3 Initialize a bunch of Dialog structs 2022-08-18 16:46:22 +02:00
Unknown W. Brackets 71d66ae1ec Dialog: Add missing header for MSVC 2017. 2022-08-06 21:13:39 -07:00
ANR2ME 4c9e1dec1a Fix include issue. 2022-08-04 16:35:30 +07:00
ANR2ME dcf3ece8f4 Implement NP Signin Dialog (faked signin) 2022-08-04 16:12:25 +07:00
Unknown W. Brackets 3ccbb51e43 Osk: Allow upper/lower for all keyboards.
In previous tests, this seemed to be limited, but now I can't reproduce.
Instead, let's just use it as the hint for the default case.
See #15010.
2022-07-16 17:47:31 -07:00
Henrik RydgårdandGitHub c69dd2f2e4 Merge pull request #15562 from unknownbrackets/securemode
Savedata: Allow no key when not using SECURE modes
2022-05-29 23:01:43 +02:00
Unknown W. Brackets b9310f1473 Savedata: Allow no key when not using SECURE modes.
For example, MAKEDATA with no key but explicit secureVersion is fine and
does create data.  However, it should still mark the version in
SAVEDATA_PARAMS, which currently we're failing to do.  Load then does some
form of validation of this version (but it's not an exact check weirdly.)

See #15068.
2022-05-29 13:23:16 -07:00
Unknown W. Brackets df4017baba Osk: Fix fullscreen check.
See previous 21bf41e, failed to add this change because of UTF-16.
2022-05-29 11:20:41 -07:00
Unknown W. Brackets ffbd9bbe98 Global: Fix some int/size_t conversion warnings. 2022-03-13 12:03:48 -07:00
Unknown W. Brackets 2479d52202 Global: Reduce includes of common headers.
In many places, string, map, or Common.h were included but not needed.
2022-01-30 16:35:33 -08:00
Unknown W. Brackets 48b597a1b9 Display: Move core counters/stats to HW file.
This separates things better, so not everything is pulling in HLE.
2022-01-30 11:53:48 -08:00
Unknown W. Brackets e75d2a097b Savedata: Fix indeterminate timing of field update.
This makes the test pass consistently, instead of depending on thread
timing.
2022-01-26 00:31:30 -08:00
Unknown W. Brackets 8e15f755e6 UI: Add a sysprop for if the device has a keyboard.
Still left some ifdefs because of System_InputBoxGetString(), but
hopefully we can move away from them.  Some devices (like SDL) may only
optionally have a keyboard, so it's a runtime check.
2021-10-19 10:01:52 -07:00
Unknown W. Brackets 29aa81be9e Savedata: Respect IO timing method setting. 2021-09-12 07:05:51 -07:00
Henrik Rydgård de3d711616 Move FixPathCase to Common/File/Path 2021-09-11 21:17:23 +02:00
Henrik Rydgård b05a74803d Remove another redundant check, comment fixes 2021-09-11 20:31:42 +02:00
Henrik Rydgård 71056e3486 SFO return value fix, oops 2021-09-11 20:26:36 +02:00
Henrik Rydgård 36079b86d0 Optimize away a couple of existence checks 2021-09-11 19:53:19 +02:00
Henrik Rydgård 5d53e59c1d Optimize ReadPSPFile (which should probably be replaced with ReadEntireFile anyway) 2021-09-11 19:33:28 +02:00
Henrik Rydgård 8e2b73b05f Optimize MetaFileSystem::ReadEntireFile 2021-09-11 19:32:37 +02:00
Unknown W. Brackets a5fce6d0b2 Savedata: Use PARAM.SFO constant properly. 2021-08-23 23:01:02 -07:00
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 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årdandUnknown W. Brackets 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årdandGitHub 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årdandGitHub 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årdandGitHub 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