Commit Graph

441 Commits

Author SHA1 Message Date
Henrik Rydgård 2e5de9435e Don't crash if sceIoDopen is called with a null path. 2026-03-09 00:19:36 +01:00
Henrik Rydgård dac2407a36 sceIo: Add support for microseconds in filetimes (not implemented in platforms yet) 2026-02-23 11:04:17 +01:00
Henrik Rydgård dad8df3860 More logspam reduction 2026-02-10 15:05:29 +01:00
Henrik Rydgård d6ebfed432 Fix some bugs and warnings from a pass of static analysis 2026-01-29 17:41:54 +01:00
Henrik Rydgård a591fbff38 Move two more error codes to the enum 2026-01-08 22:02:08 +01:00
Henrik Rydgård 5f7a937466 Rename ValidSize to ClampValidSizeAt 2025-12-30 20:31:07 +01:00
Henrik Rydgård f5a211884b Minor cleanups, comments
Comments and warnings
2025-12-30 20:31:06 +01:00
sum2012 0f33740721 Fix log channel 2025-11-09 07:25:38 +08:00
sum2012 5bc12edf05 Fix crash in npdrmLseek too
Both npdrmRead and npdrmLseek use  non-encrypted mode
2025-11-09 06:56:51 +08:00
sum2012 094b069b68 Avoid nullptr in npdrmRead 2025-11-09 01:43:42 +08:00
sum2012 f80e489638 Fix pgd_offset
By miniMax AI while debuging scemp4 .When PGD decryption failed for .edat files, the pgd_offset variable was not being reset to 0. This caused subsequent file reads to access the wrong file position
2025-11-06 22:17:35 +08:00
Henrik Rydgård 67010ff2af Split the display layout config between landscape and portrait orientations 2025-11-05 12:49:51 +01:00
Henrik Rydgård c29e370e29 Remove global state from kirk engine 2025-06-05 22:46:24 +02:00
Henrik Rydgård 31b64ae2e3 Don't alloc the iomanagerthread 2025-04-30 15:53:55 +02:00
Henrik Rydgård 52a7709fb5 Log cleanup. Fix very minor memory leak 2025-04-14 22:38:22 +02:00
Henrik Rydgård 9241d09c56 Show little indicators on achievements of the type (progression, missable, win) 2025-04-11 18:27:41 +02:00
Henrik Rydgård 6de3d47f6e Minor logging fixes 2025-04-09 11:58:31 +02:00
Henrik Rydgård b27a022e7c Remove two states from the CoreState enum. 2025-04-05 09:18:56 +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 cef14adf67 Assorted logging fixes and cleanup 2025-03-18 13:48:12 +01:00
Henrik Rydgård db715bcc9c stdout logging: Sanitize control characters 2025-03-05 11:24:44 +01:00
Henrik Rydgård 962bd8239d Remove more excessive error reporting. 2025-03-02 02:28:45 +01:00
Henrik Rydgård a18eb97be3 Consolidate more error codes into the big enum 2025-02-04 12:11:22 -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 3ce72f87d3 Another batch of log cleanup 2025-01-28 09:31:38 +01:00
Henrik Rydgård eb0102d781 Use more hleLog* functionality to simplify code. 2025-01-28 09:31:34 +01:00
Henrik Rydgård 3dc46666ff Fix logging problem in npdrm functions 2025-01-23 14:25:05 +01:00
Henrik Rydgård 5abb1be440 Some more logging cleanup 2025-01-21 17:33:59 +01:00
Henrik Rydgård 26547e2629 More fixes 2025-01-20 12:20:21 +01:00
Henrik Rydgård 7d2ad6980e Another batch of changes 2025-01-20 12:20:21 +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 bb914ca4bf More kernel logging cleanup 2025-01-19 15:36:59 +01:00
Henrik Rydgård ff8b51e6b7 Some logging cleanup in kernel 2025-01-19 14:54:09 +01:00
Henrik Rydgård 4dd3621fa0 Remove some unnecessary <algorithm> includes. 2024-12-18 17:04:27 +01:00
Henrik Rydgård 821624c494 TextureReplacer: Remove a lock that I don't think should be there. Blacklist another folder. 2024-11-30 02:44:01 +01:00
Henrik Rydgård 826e70c131 Increase the hardcoded free space reported by sceIoDevctl to 1.5 GB
Should (mostly) take care of #19539
2024-10-28 10:47:32 +01:00
sum2012 6417a4816d Fix PSP_STDIN and PSP_MIN_FD value
According JPCSP source
https://github.com/jpcsp/jpcsp/blob/bb94cd4f9b211d3efa5519c6f218764be2985589/src/jpcsp/HLE/modules/IoFileMgrForUser.java#L171
Fix #19435
2024-09-15 08:43:36 +08:00
Henrik Rydgård 5fdff10be5 Minor logging tweak 2024-07-23 22:13:24 +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
Henrik Rydgård 0b91aa50ee Improve memory safety, add bugfix to little-used sysclib functions 2024-05-05 14:19:49 +02:00
Henrik Rydgård ddd821b6ce Improve logging in pgd_open 2024-04-09 17:41:56 +02:00
Henrik Rydgård 746696ab58 Merge pull request #18970 from GermanAizek/cleanup
Cleanup excess redefines and maybe fixed result in HLE sceIo::sceIoGetDevType()
2024-04-02 13:55:27 +02:00
Herman Semenov 0f94ac9189 Cleanup excess redefines and maybe fixed result in HLE sceIo::sceIoGetDevType() 2024-04-02 14:25:26 +03:00
Herman Semenov cfb77ce83e [Core/HLE/Common/UI] Using C++17 make smart pointers 2024-04-01 18:12:27 +03:00
Henrik Rydgård bd7019eb9d Protect sceIoOpen against nullptr filenames 2024-01-15 12:02:58 +01:00
Henrik Rydgård ee4d98339c Beats: Fix file permissions on FAT so it can see custom MP3s.
On FAT file systems, files look like they have executable permission.
For some reason Beats checks for this.

Unfortunately, this doesn't really make custom music playable - while
they now display, they seem to start stuttering after a short while. Or
it's just my files...
2023-12-07 12:10:01 +01:00
sum2012 7092393ed7 Space bug 2023-10-29 12:40:20 +08:00
sum2012 8613c685eb Change timing in __IoRead
Test in Aces of War (Europe) and Sengoku Musou 3 Z Special
2023-10-29 12:38:52 +08:00
sum2012 84d3bff507 Delay smaller 2023-10-24 20:06:30 +08:00
sum2012 6a844dd985 Add more delay as ForceUMDDelay
Also add setting in libretro
2023-10-23 20:03:42 +08:00