shenweip
d1e354ce04
Improve compatibility.
...
Don't implemente on vista and UWP,they don't have a full support for this.
2020-01-14 17:15:11 +08:00
Henrik Rydgård
c2e8577756
Loader: If the module range is bad, don't get stuck trying to scan for functions.
...
Better crash immediately (although that's also not ideal).
2020-01-13 23:28:46 +01:00
shenweip
034a257baf
Add camera support for windows.
2020-01-13 15:06:02 +08: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
a881d78d64
Warning fix
2020-01-12 18:42:28 +01:00
Henrik Rydgård and GitHub
42bfcc7fa6
Merge pull request #12559 from DaveeFTW/prxdecrypt
...
Expand PRX decryption capabilities
2020-01-11 23:31:15 +01:00
Davee Morgan
4c9e7b7424
PRX Decryption: add pauth decryption
2020-01-11 20:43:38 +00:00
Davee Morgan
3a5aa915e4
PRX Decryption: add support for gzip compressed executables
2020-01-11 15:05:48 +00:00
Davee Morgan
1d7bbdd006
PRX Decryption: add support for type 0/1/2/5/6 decryption
2020-01-11 15:00:07 +00:00
shenweip
8ccc7996b0
Don't check auAddr.
2020-01-05 22:37:29 +08:00
shenweip
4bc0274d53
Check invalid address in sceMpegAtracDecode.
...
Fixes #11026 .
2020-01-05 22:11:43 +08:00
Henrik Rydgård and GitHub
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
9be8fc6c69
Oops.
2020-01-04 11:14:32 +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
shenweip
458f8cfac3
minor fix
2020-01-02 16:45:01 +08:00
shenweip
28bfc4c05d
Avoid thread queue out of range by a offset.
...
This case will happen if thread priority is -1.
2020-01-02 16:03:48 +08:00
shenweip
d09543ebd7
Move umd replace to loaders.
2020-01-02 14:56:24 +08:00
Henrik Rydgård and GitHub
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 and GitHub
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
86c781e434
Hack around most of the problems with the save/load dialog. Software stretch gets enabled in non-wide mode, so wallpapers work at a cost of speed.
2019-10-27 20:55:32 +01:00
Henrik Rydgård and GitHub
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
29950c0ad5
Update last commit to use IsValidRange instead of IsValidAddress.
2019-10-13 16:21:52 +02:00
Henrik Rydgård
d64f9c44f3
Code analysis: Skip invalid code sections. May help #12414 .
2019-10-13 13:25:18 +02:00
Henrik Rydgård and GitHub
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
e36f894f66
HLE: Replace Motorstorm pixel read func.
...
Helps with some lighting, see #12363 .
2019-10-05 08:37:18 -07:00
Unknown W. Brackets
cc6115d875
Io: Join loading/manager threads more explicitly.
2019-09-28 11:18:42 -07:00
Henrik Rydgård
553ea23c34
Add memory range checks to a few little-used sysclib functions. Might help #12359 .
2019-09-27 22:58:18 +02:00
Unknown W. Brackets
c53acfcac9
Io: Correct result on async file not found.
2019-09-01 09:43:01 -07:00
Unknown W. Brackets
c26becb545
Io: Wait async thread on IO completion.
...
So it doesn't exit early.
2019-09-01 09:32:58 -07:00
Unknown W. Brackets
419ac33dcd
Io: Cleanup some logging.
2019-09-01 09:18:27 -07:00
Unknown W. Brackets
8e77db2b72
Io: Check callbacks in sceIoWaitAsyncCB().
2019-09-01 09:11:09 -07:00
Unknown W. Brackets
e817d79c39
Io: Handle open async in a thread.
2019-09-01 08:16:06 -07:00
Unknown W. Brackets
2bfcba0623
Io: Use async for read/write/seek/ioctl.
...
This should properly respect the thread priority setting and improve IO
timing. Improves IO thread timing tests.
2019-09-01 08:16:05 -07:00
Unknown W. Brackets
4578381f7a
Io: Prepare HLE thread handling for async.
2019-09-01 08:16:05 -07:00
Unknown W. Brackets
ad274d5b72
Psmf: Cleanup finishThread save state handling.
2019-09-01 08:16:05 -07:00
Unknown W. Brackets
5fec5c90d8
Io: Cleanup some error handling.
2019-09-01 08:16:05 -07:00
Unknown W. Brackets
f1037248f1
Io: Store sceIoChangeAsyncPriority value.
...
Also some prep for async threaded IO.
2019-09-01 08:16:05 -07:00
Unknown W. Brackets
dd804660c9
Psmf: Use kernel memory for helper thread stack.
...
Also, thread stacks must be 0x200 or larger.
2019-09-01 08:16:05 -07:00