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
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
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
Henrik Rydgard
3d114c5bca
Compat: Force realistic UMD timing for F1 2006. Fixes #9193 but not the game, since there's also #11177 .
2019-02-06 10:45:12 +01:00
Unknown W. Brackets
ac6106af03
Io: Ensure sign extension for error codes.
...
The ternary `cond ? EnumValue : IntValue` was not sign extending
consistently across compilers, but we actually want it to always sign
extend in either case.
2018-12-01 09:43:02 -08:00
Unknown W. Brackets
b4496f1975
Core: Move config enums to separate file.
...
These are a bit strewn about and there are constants that aren't
consistently used, which just adds confusion.
2018-06-23 10:59:18 -07:00
Unknown W. Brackets
e313a9bf6c
Debugger: Lock startup/shutdown for threadsafety.
...
Otherwise things can get freed while we're trying to inspect them.
2018-06-06 05:58:49 -07:00
Henrik Rydgård
d7770307f3
Change some log levels to verbose
2018-05-27 21:53:27 +02:00
Unknown W. Brackets
f4e8e68c44
Io: Cleanup file not found error codes.
...
Replay (#10888 ) caused error to be non zero, which was later translated to
something else, confusingly...
2018-05-06 10:15:05 -07:00
Henrik Rydgård
e488227398
Just some log cleanup
2017-12-15 16:33:49 +01:00
Henrik Rydgård
89f0ffc1bc
Just reduce some log levels
2017-11-25 12:13:27 +01:00
Unknown W. Brackets
82beb726fc
GE Debugger: Record init state and display buf.
...
Some things are now visible, but still drawing wrong...
2017-06-04 10:38:52 -07:00
Henrik Rydgard
50be4e72b2
Get rid of our own silly reimplementation of std::thread
2017-02-27 20:51:36 +01:00
Henrik Rydgard
b0942cf40f
Implement sceIoCreate flag O_EXCL. Should fix #9322
2017-02-19 10:05:17 +01:00
Henrik Rydgard
5df4bac6d2
Delete some left behind unused code
2017-01-25 10:05:39 +01:00