Commit Graph

388 Commits

Author SHA1 Message Date
Unknown W. Brackets
2a9354dc1a IO waits don't work without dispatch enabled. 2013-04-06 17:04:19 -07:00
Unknown W. Brackets
f380075e2a Only OpenAsync works with dispatch disabled.
And it even re-enables dispatch.
2013-04-06 17:04:18 -07:00
Unknown W. Brackets
0d4b0a1246 Track unknown sceIoIoctl commands better.
Also an mpeg stub.
2013-03-29 01:54:04 -07:00
Henrik Rydgard
e7027b6c9c win32: Add menu option to open memory stick directory 2013-03-28 20:19:10 +01:00
Unknown W. Brackets
e4223dbcb0 Simplify adding report messages, add a bunch more. 2013-03-26 00:54:00 -07:00
Henrik Rydgard
576d07719c Add a few stubs 2013-03-24 22:06:58 +01:00
raven02
a64f4839be Add ERROR_PGD_INVALID_HEADER , 0x80510204 2013-03-19 07:53:21 +08:00
Henrik Rydgard
e20e5f49b9 Stub sceIoChstat and an icache invalidate function 2013-03-16 09:39:22 +01:00
Henrik Rydgard
8021e49c7f Apply tpunix' PGD fix from #998 2013-03-16 09:15:11 +01:00
Unknown W. Brackets
6e54ce5551 Fix some minor warnings. 2013-03-15 00:45:47 -07:00
raven02
a974c65ad1 Set Log level to ERROR when invalid PGD file found 2013-03-13 17:04:13 +08:00
Unknown W. Brackets
34865fee34 Remove io debugging code accidentally left in. 2013-03-12 01:00:15 -07:00
Unknown W. Brackets
f1e324da47 Add delays to sceIoDread(), which needs them.
Only the first time though.
2013-03-11 02:50:36 -07:00
Unknown W. Brackets
2b62bf5181 Add io delays to some misc io funcs. 2013-03-11 02:50:36 -07:00
Unknown W. Brackets
7726b95037 Reschedule / async in sceIoWrite as well. 2013-03-11 02:50:35 -07:00
Unknown W. Brackets
0fe7f3e8d3 Add delays for open, close, and getstat.
Actual delays for these seem much higher, but not sure.
2013-03-11 02:50:34 -07:00
Unknown W. Brackets
fff8d0c7c4 Add a memory stick devctl to check writable.
Final Fantasy 4 seemed to want this.
2013-03-11 02:50:34 -07:00
Unknown W. Brackets
f8d9846179 Add a few more umd devctl commands.
With help from jpcsp and testing.
2013-03-11 02:50:33 -07:00
Unknown W. Brackets
4a18ace1aa Cleanup some sceIoDevctl() umd commands.
Based on tests.
2013-03-11 02:50:33 -07:00
Unknown W. Brackets
70cbe30e45 Clean up sceIoIoctl() async and add delay.
A low estimate based on tests.
2013-03-11 02:50:33 -07:00
Unknown W. Brackets
0b9c248856 Reschedule in sceIoLseek() etc.
Also make it so we can return u64s easily in places...
2013-03-11 02:50:32 -07:00
Unknown W. Brackets
feba421566 Make sceIoLseekAsync() etc. work better + cleanup.
No need to have this logic duplicated.
2013-03-11 02:50:32 -07:00
Unknown W. Brackets
0b097fb67b Make async IO actually wait for completion. 2013-03-11 02:50:32 -07:00
Unknown W. Brackets
2b8cb0011c sceIoRead() always reschedules, and handle async.
Tried to estimate some rough timing.  Fixes Unchained Blades.
2013-03-11 02:50:31 -07:00
Unknown W. Brackets
99240914ea sceIoLseek() should sign extend error codes.
< 0 means error, and 0x0000000080000000 is not < 0.
2013-03-11 02:50:31 -07:00