aliaspider
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å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
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ård
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
Unknown W. Brackets
67416e5919
Io: Simulate VFAT bug only when simulating FAT32.
...
And cleanup flag handling a bit.
2020-05-21 18:57:46 -07:00
Unknown W. Brackets
51db9f0f85
Io: Improve timing of sceIoOpen().
...
Currently ignores filesystem, but this is more accurate.
2020-05-21 18:57:44 -07:00
Unknown W. Brackets
3777d32ac8
Io: Cleanup sceIoOpen errors and logging.
2020-05-21 18:56:57 -07:00
Unknown W. Brackets
d734f7ccb4
Reporting: Log SceIoChstat calls.
...
Might be used to truncate save data or do other things.
2020-03-19 20:57:23 -07:00
Unknown W. Brackets
51b94a9c9c
Core: Quiet some warnings.
2020-03-10 22:19:59 -07:00
Unknown W. Brackets
fc8306dde1
Android: Ensure we forget the shortcut on next run.
...
Prevents an issue where we would use the shortcut param again when
starting the app directly.
2020-03-08 14:58:42 -07:00
Henrik Rydgård
e2845363e9
Async I/O: Don't delay on close. Fixes #12549 (MGS:PW crash).
...
Also sneak in a small change in logging.
2020-01-12 18:42:28 +01:00
Henrik Rydgård
78e36ece51
Merge pull request #12545 from shenweip/UMD-switch
...
UMD switch: Code clean up and fix a out of range error in thread queue.
2020-01-05 08:48:32 +01:00
Unknown W. Brackets
3474339109
Io: Correct async priority default on async open.
2020-01-04 08:48:04 -08:00
shenweip
9fa4ae7b15
fix
2020-01-04 09:11:15 +08:00
Unknown W. Brackets
507b01a93e
Io: Return a better error code for sceIoCancel.
...
This is very rarely used and doesn't seem to work.
2020-01-03 14:24:52 -08:00
Unknown W. Brackets
593e48b865
Io: Update async priority more correctly.
...
When an operation finishes, whether it uses the priority from the first
operation or the current thread's priority depends on sdk version, it
seems.
This also makes it resolve the default priority on open, so that changing
the default afterward doesn't affect already open descriptors.
2020-01-03 14:24:52 -08:00
shenweip
44660bd9ae
Change async priority to current thread'priority if priority = -1.
2020-01-03 14:33:32 +08:00
Henrik Rydgård
0a5ec48382
Merge pull request #12533 from unknownbrackets/io-async
...
Io: Allow adjusting default async thread priority
2019-12-26 22:19:51 +01:00
Henrik Rydgård
4a0d7d67dc
Merge pull request #12532 from unknownbrackets/io-minor
...
Io: Correct leak on save state
2019-12-26 22:19:00 +01:00
Unknown W. Brackets
7e345dad11
Io: Allow adjusting default async thread priority.
2019-12-26 11:26:31 -08:00
Unknown W. Brackets
499431c1ed
Io: Correct leak on save state.
...
This was breaking things a bit more every time you saved state.
2019-12-26 11:05:36 -08:00
shenweip
c3a489fa90
Don't ignore SCE_KERNEL_ERROR_NOCWD in many cases.
...
Use a error 1 to mean the uccessful mapping but carry with SCE_KERNEL_ERROR_NOCWD error.
2019-12-13 17:59:55 +08:00
shenweip
a6d511d123
IO:Add an extra delay to simulate umd delay in file seek whence.
...
Pangya(KS) seems want to check something base on this delay and system time.Anyhow, the game work now.
2019-12-13 08:19:17 +08:00
Henrik Rydgård
9c40381db0
Remove the I/O on Thread option - treat it as always on.
2019-11-04 22:21:20 +01:00
Henrik Rydgård
e09296b9b1
Merge pull request #12433 from unknownbrackets/io-minor
...
Io: Return error code for write attempt to UMD
2019-10-20 22:38:36 +02:00
Unknown W. Brackets
913121cf2b
Io: Consistently use error codes with OpenFile().
...
This gets rid of OpenWithError(), and just always returns a negative value
on error for OpenFile(). Also fixed the sequence rollover, which could've
returned 0.
0 should be considered a valid handle ideally, but left it never returning
0 to simplify cleanup in some areas.
2019-10-20 11:03:37 -07:00
Unknown W. Brackets
f63daf8185
Io: Change async thread priority if running.
...
Really thought I'd already done this, must've made a mistake...
Fixes #12400 .
2019-10-20 10:26:37 -07:00
Unknown W. Brackets
4065fae262
Io: Destroy async threads on reset.
...
Oops, this left us in a different state on exit.
2019-10-20 10:25:57 -07:00
Henrik Rydgård
eb2109a0f1
Merge pull request #12328 from unknownbrackets/io-async
...
Use PSP threads for async IO
2019-10-07 21:50:57 +02:00
Unknown W. Brackets
cc6115d875
Io: Join loading/manager threads more explicitly.
2019-09-28 11:18:42 -07:00