Commit Graph

224 Commits

Author SHA1 Message Date
Katharine Chui f4be7a990b Fix Driver 76 not creating adhoc sockets
Driver 76 uses sceKernelGetModuleIdList to get a module list
after calling sceUtilityLoadNetModule, then go module by module
with sceKernelQueryModuleInfo to check if at least pspnet_adhoc.prx
was loaded.

Load modules during sceUtilityLoadNetModule, expand success lying
modules to have real names, add adhoc modules to the success lying
list, list lied modules during sceKernelGetModuleIdList.
2026-02-15 22:24:27 +01:00
Henrik Rydgård 44a2585753 Rename some function, remove an unused return value 2026-02-12 01:23:45 +01:00
Henrik Rydgård d8713c5f3a sysparam logging improvement 2026-01-18 00:13:10 +01:00
Henrik Rydgård 2b863aafe1 Prepare for the new defaulting mechanism, IniFile cleanup 2025-11-05 12:49:52 +01:00
Henrik Rydgård 198d86a9b1 Move the PSP system language logic into sceUtility. 2025-11-04 11:48:47 +01:00
Henrik Rydgård cfba17b6e6 Correct error codes from sceUtilityLoadAvModule / UnloadAvModule.
Fixes #20775
2025-09-04 15:18:15 +02:00
Henrik Rydgård 7dde367ead Improve logging in sceUtility *GetStatus functions 2025-08-06 17:45:39 +02:00
Henrik Rydgård f0b0457fea More minor fixes 2025-05-26 19:40:31 +02:00
Henrik Rydgård e2bfc48886 Sanity checks in Vulkan backend, PSPDialog 2025-05-14 00:39:00 +02:00
Henrik Rydgård da7c99a585 sceNetInet: Implement per-thread errno. Reduce some log levels 2025-04-08 08:31:09 +02:00
Henrik Rydgård 651a972019 More sceAudioCodec implementation work. Atrac3+ partially works now. 2025-04-02 17:26:59 +02:00
Henrik Rydgård 4e25f44eef Rename some module-related functions to include HLE where appropriate 2025-03-31 11:17:50 +02:00
Henrik Rydgård 0f840e6240 Move JPEG error codes to the big enum, some include cleanup 2025-03-21 20:44:46 +01:00
Henrik Rydgård d83bdc3bf8 Restore the old memory reservation for sceAtrac.
See #20133
2025-03-20 13:18:03 +01:00
Henrik Rydgård 01076d2a4f InitLowLevel parameter cleanup 2025-03-18 09:36:33 +01:00
Henrik Rydgård bb436cda8f Reimplement a lot of logic, implement loop streaming properly 2025-03-18 09:36:33 +01:00
Henrik Rydgård c2a73ba2ee sceUtilityLoadModule: Shrink the memory reservation for sceAtrac 2025-03-15 17:54:53 +01:00
Henrik Rydgård 5a8e4c1c2e Assorted debugger stuff 2025-03-15 17:54:38 +01:00
Henrik Rydgård 17d7dcdd6c Make sceUtilityLoadAvModule work correctly 2025-03-15 17:40:24 +01:00
Henrik Rydgård adbceabd93 Show fake-loaded HLE modules in the debugger. Notify Atrac of its address when one is loaded
Will be useful later.
2025-03-15 15:56:11 +01:00
Henrik Rydgård 0f9c97c2a0 Another big batch of logging cleanup 2025-03-05 17:02:46 +01:00
Henrik Rydgård 408d1b0916 Track execution time after save, add new setting for exit confirmation 2025-02-17 12:29:23 -06:00
Henrik Rydgård 34169cdb8e More error code consolidation 2025-02-04 11:53:22 -06:00
Henrik Rydgård b2b0ff1753 Consolidate error codes in ErrorCodes.h 2025-02-04 11:53:00 -06:00
Henrik Rydgård 28b2c7f540 HLE log rename part 1: Remove duplicate log functions. Return type should be determined by metadata. 2025-01-29 09:45:39 +01:00
Henrik Rydgård e4de9dbfb5 Add some socket data in the debugger 2025-01-22 10:12:56 +01:00
Henrik Rydgård 748c4e4a49 sceutility: Warn if netparams are accessed *before* apctl is inited. 2025-01-22 09:53:00 +01:00
Henrik Rydgård 2523690584 Flip around so sceDelayResult is always outermost. Start using HLECall. 2025-01-20 12:20:18 +01:00
Henrik Rydgård 42a2dfbbc1 Convert more code 2025-01-19 17:34:29 +01:00
Henrik Rydgård 28d8faef3a Integrate the sceUtility DNS query with the auto conf system, minor cleanups 2025-01-13 12:31:02 +01:00
AdamN 98dba643f4 Just the sceUtility changes from ANR2ME's branch 2025-01-06 14:38:45 +01:00
Henrik Rydgård 4582ee692a More logging changes 2024-07-16 22:04:41 +02:00
Henrik Rydgård e01ca5b057 Logging API change (refactor) (#19324)
* Rename LogType to Log

* Explicitly use the Log:: enum when logging. Allows for autocomplete when editing.

* Mac/ARM64 buildfix

* Do the same with the hle result log macros

* Rename the log names to mixed case while at it.

* iOS buildfix

* Qt buildfix attempt, ARM32 buildfix
2024-07-14 14:42:59 +02:00
Unknown W. Brackets 624d5a38e7 Savedata: Fix gamedata install shutdown status.
This is the only one that returns non-errors when the dialog is disabled.
2023-10-15 10:36:27 -07:00
Unknown W. Brackets 0a4f1dc49b Thread: Reduce thread stop freeing on shutdown.
Seeing errors for helper threads not existing, so let's try skipping
delete on shutdown.  They already get freed anyway.
2023-09-30 16:52:01 -07:00
Henrik Rydgård eb14c87a71 Allow configuring the game language separately from the PPSSPP UI language, with a new setting. 2023-07-23 11:30:04 +02:00
Henrik Rydgård 78f3d450ff Eat some CPU cycles in sceUtilityOskUpdate. Works around timing bug in Ghost Recon Predator.
The bug is in the game, it uses the wrong vblank wait, but it only works
because the dialog processing takes so much time that it misses the
vblank period anyway.

Fixes #12044, and hopefully won't break anything else.
2023-02-14 20:14:49 +01:00
Henrik Rydgård e1a48d74c4 A bit more GetPointer cleanup.
Probably not worth it for performance reasons, but some semantic cleanup
is good, especially the accidental GetPointer -> writable casts without
using GetPointerWrite.

Using Unchecked on already checked pointers, or when we'd crash anyway
if it returned nullptr, is good for clarity.
2023-01-10 12:13:47 +01:00
Unknown W. Brackets ef04c4f55c Utility: Report YugiohSaveFix usage. 2022-12-19 07:56:23 -08:00
Henrik Rydgård 21647cd3c1 Blind workaround for Shining Ark circle button problem
Seems the game might not handle the case of confirm button being set to
cross properly, so force it to circle if this game is running.

Fixes #15663 (hopefully..)
2022-11-27 23:32:43 +01:00
Henrik Rydgård 9482578fbb Twinbee Portable: Add config flag to avoid the system languages the game doesn't work with 2022-11-13 23:37:56 +01:00
Unknown W. Brackets 7f87cd077a Jpeg: Play it safe with load/unload handling. 2022-10-07 00:24:19 -07:00
Unknown W. Brackets f0afc97247 Gamedata: Cleanup install request args/validate. 2022-09-18 20:39:13 -07:00
ANR2ME dcf3ece8f4 Implement NP Signin Dialog (faked signin) 2022-08-04 16:12:25 +07:00
ANR2ME 3bb83f03bd Partially fixes SenseMe app (will need HTTP/HTTPS support to be fully working) 2022-04-27 14:28:28 +07:00
Unknown W. Brackets 63e623ecb2 Build: Fix some format truncation warnings.
Generally all should be safe already, but better to be sure.
2021-12-11 10:45:27 -08:00
Unknown W. Brackets 24f1dcec98 Dialog: Allow termination of access thread at ret.
Sometimes the thread is just sitting at return, but hasn't stopped quite
yet.  Allow deleting the thread in this case without modifying volatile
lock status.
2021-09-16 08:57:20 -07:00
Unknown W. Brackets 570d84fb86 Dialog: Try to recover on double init, report.
This shouldn't be happening, but is - see #14864.
Let's report the situation and try to avoid a complete crash.
2021-09-15 21:06:12 -07:00
Henrik Rydgård ed3201a27f Merge pull request #14730 from unknownbrackets/savedata-shutdown
Dialog: Prevent reschedule on shutdown start
2021-08-15 10:04:34 +02:00
Unknown W. Brackets 04828e886b Dialog: Lock volatile when the access thread runs.
Further tests show that this should be locked first thing before the
delays, it just depends on the thread priorities involved.
2021-08-14 20:55:10 -07:00