Commit Graph

388 Commits

Author SHA1 Message Date
Xele02
0633c18438 submodule sync 2013-01-21 01:38:24 +01:00
Xele02
3825df5c6a Improve sceIo to pass io autotest.
io/io, io/cwd, io/directory ok
io/file still have a file mode fail
2013-01-21 01:25:48 +01:00
Unknown W. Brackets
862c88d61a More warning fixes, switches and printfs, etc.
This time ones not reported by Visual Studio.
2013-01-19 18:32:37 -08:00
Unknown W. Brackets
140fd171ef Fix some 64-bit type conversion warnings. 2013-01-19 13:48:20 -08:00
Unknown W. Brackets
7d0e78b0f0 Revert part of 289b0eb which broke some games.
Although defAction isn't a good solution, removing it outright seems
to break things.
2013-01-18 01:22:48 -08:00
raven02
289b0eb81e Add/update stubs in sceIo 2013-01-17 20:05:45 +08:00
KentuckyCompass
cd923ed13b helper function should be static 2013-01-10 16:25:30 -08:00
KentuckyCompass
320c0d06c3 Implement per-thread current directory 2013-01-10 16:18:02 -08:00
Henrik Rydgard
b8eab42add Add support for a couple of sceIoIoctl commands. Init some vars. 2013-01-06 09:54:43 +01:00
Henrik Rydgard
07dffb530c Check some addresses - prevent possible crashes. 2013-01-05 23:40:39 +01:00
Arthur Blot
e4ce0592c1 Make previous code cleaner 2013-01-02 19:42:15 +01:00
Arthur Blot
1519600441 Implemented sceKernelLoadModuleByID, better logs 2013-01-02 19:42:15 +01:00
Unknown W. Brackets
62b1fe0fb1 sceIo doesn't have to do emu output, headless can. 2012-12-30 00:00:58 -08:00
Unknown W. Brackets
ade0f4103b Don't let native's log output spoil tests.
Also, log to stderr, makes more sense anyway.
2012-12-29 23:21:56 -08:00
Unknown W. Brackets
0edbcdc955 Fix some missing things / bugs in save states. 2012-12-29 02:56:56 -08:00
Unknown W. Brackets
269a776363 Add a simple devctl to verify the state.
Could do more, but this should be useful.
2012-12-28 14:13:34 -08:00
Unknown W. Brackets
042e515037 Warniof the sceIo defAction is used when stating.
This is broken anyway so skipping for now.
2012-12-28 13:55:28 -08:00
Unknown W. Brackets
4b39e39455 Start save stating the filesystem state.
Plus minor fixes and at least an attempt to make states the same
on both 32 and 64 bit.
2012-12-28 13:55:27 -08:00
Unknown W. Brackets
595759ef78 Implement a factory for kernel objects.
Couldn't think of a better way to do this, maybe there's some fancy
one I don't know about.

Also finished up a couple left over kernel objects.

Maybe a quarter the way there?
2012-12-28 13:55:22 -08:00
Unknown W. Brackets
724640d308 Revert rescheduling in sceIoOpen().
Broke Orbit and Breakquest, maybe my tests are wrong.  Scheduling is hard.

This reverts commit f75f2748b1.
2012-12-26 02:26:17 -08:00
Unknown W. Brackets
0587104c16 No need to register now, actually.
Was using NotifyCallbackType before but that wasn't necessary
anyway, so this is cleaner/better.
2012-12-26 02:17:47 -08:00
Unknown W. Brackets
be779d7f77 Actually run callbacks for async IO.
Probably needs to actually be delayed though.
2012-12-26 01:33:43 -08:00
Unknown W. Brackets
8d946a7a3a Ensure we don't close the wrong fd in async io. 2012-12-26 01:33:43 -08:00
Unknown W. Brackets
a4154dbc17 Clean up a few IO wrappers with deferred HLE. 2012-12-26 01:33:42 -08:00
Unknown W. Brackets
f75f2748b1 Tests show io open also rescheds, async or not. 2012-12-26 01:33:42 -08:00