Commit Graph
360 Commits
Author SHA1 Message Date
Unknown W. Brackets dd0de46ed9 Io: Use PSPPointer instead of struct temps. 2022-09-03 10:44:11 -07:00
Henrik Rydgård 861d66a4d4 Separate logging for GetPointer/GetPointerWrite 2022-07-24 13:39:37 +02:00
Unknown W. Brackets ad2e380987 Display: Move listeners to separate HW file.
Mixing this in with the HLE management funcs was messy.
2022-01-30 09:41:08 -08:00
Unknown W. Brackets b4eab72015 Common: Fix conversion of 4444 to BGRA.
This was affecting tests emitting screenshots in 4444 as well as Direct3D
backends.
2022-01-23 19:22:32 -08:00
Unknown W. Brackets b592e918b6 Headless: Indicate HAS_DISPLAY=0.
This will make tests run as they do on a PSP, with display, outside
headless.
2021-11-03 17:41:07 -07:00
Unknown W. Brackets 25da99a16d Io: Remove setting to disable I/O on thread. 2021-10-12 20:40:26 -07:00
Henrik Rydgård 07413aa4e3 Feedback 2021-09-11 18:53:46 +02:00
Henrik Rydgård f7895457ee Add back the dir listing logging. Add hack to avoid confusing Wipeout :( 2021-09-11 18:12:30 +02:00
Henrik Rydgård 09f65db91c Cleanup 2021-09-11 15:35:11 +02:00
Henrik Rydgård b075b79175 Also hide SHADERS directory from games 2021-09-11 15:14:44 +02:00
Henrik Rydgård 1f81876ab1 Cleanup 2021-09-11 15:04:53 +02:00
Henrik Rydgård 04578edf65 Hide directories games should not know about from them.
Stops some games from spending lots of time iterating over files they
should not care about. Helps the performance issues in #13847 quite a bit.
2021-09-11 15:02:52 +02:00
Henrik Rydgård 2d88ae5112 Delete some left-behind lines 2021-08-04 23:22:43 +02:00
Henrik Rydgård f53eb4ae0d Fix silly filesystem mounting bug introduced in #14638
Fixes #14650.
2021-07-27 22:55:02 +02:00
Henrik Rydgård 8ab627d6e9 Workaround for the /PSP path thing. Needs testing. 2021-07-25 17:32:12 +02:00
Henrik Rydgård 9ae00b80b1 Cleanup the ownership model in MetaFileSystem.
The old one was error-prone spaghetti.
2021-07-24 10:31:15 +02:00
Henrik Rydgård b0558b2174 Assorted directory fixes 2021-07-19 17:34:50 +02:00
Unknown W. Brackets 9324a1c20b Io: Don't confuse kernel object with meta handle.
Make sure we never try to close an unrelated open file when destroying an
async open temporary file node.
2021-06-06 09:58:46 -07:00
Unknown W. Brackets 294f78dec9 Io: Allow opening tty0: for output. 2021-06-06 09:56:41 -07:00
Henrik Rydgård 025bcb1673 Introduce Path, start using it all over the place.
Still lots left to convert!

Convert GetSysDirectory to return Path.

More buildfixing

Remove unnecessary Path( constructors
2021-05-13 10:39:16 +02:00
Henrik RydgårdandUnknown W. Brackets f4a6d291e1 Common: Capitalize setCurrentThreadName(). 2021-04-30 23:02:36 -07:00
Unknown W. Brackets a3680ca3cb Io: Calculate memory stick size on a thread.
If you have a bunch of saves/states/etc. this might be a bit slow.
2021-04-16 01:15:23 -07:00
Unknown W. Brackets 1b4f0e25b7 Reporting: Log more data about sceIoChStat(). 2021-04-10 15:11:44 -07:00
Unknown W. Brackets e36d09acc3 Debugger: Include filename in file IO memory tags. 2021-04-03 18:11:44 -07:00
Unknown W. Brackets a76ba9a957 Core: Handle Disc ID a bit more consistently. 2021-02-28 10:52:35 -08:00
Henrik RydgårdandGitHub 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
aliaspiderandUnknown W. Brackets 9a3e5879bb Global: Correct many endian types and casts. 2021-02-18 22:25:24 -08:00
Unknown W. Brackets f7740edc6d Debugger: Add more metadata for memory usage. 2021-02-15 15:01:21 -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 c7bf68c991 Io: Don't allow async close while async busy.
See #6582.
2021-01-24 11:22:41 -08:00
Unknown W. Brackets c95e695a38 Io: Track initial free space for compat flag.
This seems to be necessary for Assassin's Creed.  See #12761.
2020-10-19 22:42:49 -07:00
Henrik RydgårdandGitHub 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 821817e6d4 Move the profiler to Common 2020-10-04 11:42:16 +02:00
Henrik Rydgård 15382d5f94 Move threading utils from native to Common 2020-10-01 09:27:25 +02:00
Henrik Rydgård 51e2e7f8d5 Remove our usage of ssize_t 2020-09-29 15:51:51 +02:00
shenweip 766bd8e6bb Don't read data more than data size of pgd files. 2020-09-12 19:00:03 +08:00
Henrik Rydgård 5d64fc5ff1 Switch to PPSSPP's assert functions (don't use the system's) 2020-08-16 10:01:10 +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 df6d0a8ae7 PSP kernel: Improve logging when accessing bad kernel object handles. 2020-07-20 11:57:11 +02:00
Henrik RydgårdandGitHub b58ca8af12 Merge pull request #12945 from unknownbrackets/io-timing
Make file open timing a bit more accurate
2020-07-13 13:37:53 +02:00
Henrik Rydgård efc3f4f5e4 Split CORE_ERROR into CORE_BOOT_ERROR and CORE_RUNTIME_ERROR 2020-07-12 15:25:20 +02:00
Henrik Rydgård 177d697a15 Revert "Remove the I/O on Thread option - treat it as always on."
This reverts commit 9c40381db0.
2020-07-05 10:37:44 +02:00
sum2012 d43c1baa19 Add sceKernelStdout 2020-06-07 19:36:12 +08:00
Unknown W. Brackets 49abe9ed6c Io: Open sce_lbn references and whole ISO faster. 2020-05-21 18:58:24 -07:00
Unknown W. Brackets 91427c1f4e Io: Account for OpenAsync timing. 2020-05-21 18:58:24 -07:00
Unknown W. Brackets 5e1adcdbd2 Io: Fail without fd on bad device in OpenAsync. 2020-05-21 18:58:24 -07:00
Unknown W. Brackets 52283a50dc Io: Improve non-async open timing. 2020-05-21 18:58:22 -07:00
Unknown W. Brackets c829ccb87d Io: Track whether the game is on a UMD or storage. 2020-05-21 18:57:46 -07:00