Unknown W. Brackets
2c40cd509a
Avoid overwriting io thread results.
...
Just block until it's done so that things are synchronous.
2014-03-02 13:45:12 -08:00
Unknown W. Brackets
bd982b2e6f
Support PSP_O_TRUNC on Windows.
...
There are more modes we don't support properly. May fix savedata
corruption in Gran Turismo and possibly other games.
2014-02-11 23:54:30 -08:00
Unknown W. Brackets
73722d9cee
Support additional prefixes, like memstick:.
...
I also found umd01: and host01: work, etc. May help #5377 and possibly
others.
It seems like games can assign these at will and potentially even
subpaths, but reporting hasn't shown many cases yet. We can still watch
it.
Avoided mapping additional systems because savestates don't handle that
well currently.
2014-02-10 01:41:28 -08:00
Unknown W. Brackets
a0d5610f36
Report usage of sceIoAssign() and sceIoUnassign().
2014-02-09 12:29:22 -08:00
Unknown W. Brackets
7add81fbd2
Use USING_WIN_UI instead of _WIN32 for differences.
...
Just makes the code clearer and probably helps other UIs work on Windows
more easily.
2014-02-08 16:38:45 -08:00
Unknown W. Brackets
10f52fa2b0
Just in case, also clear results on shutdown.
2014-01-26 19:10:20 -08:00
Unknown W. Brackets
c03326eed4
Discard any pending result when closing a file.
2014-01-26 18:49:34 -08:00
Ced2911
2941ec7227
[core] some endian fix try
...
Conflicts:
Core/HLE/sceIo.cpp
2014-01-26 14:25:54 -08:00
Unknown W. Brackets
c5e11c63c0
Now umd0: size is in sectors, not bytes.
...
So we have to check based on that correctly. Darn it.
2014-01-22 22:24:30 -08:00
Unknown W. Brackets
f14361c3b8
Add a bunch more missing cstring includes.
2013-12-30 21:37:19 -08:00
Henrik Rydgård
ce378b231f
Delete CPU.cpp/h , cleanup
2013-12-30 00:11:29 +01:00
Unknown W. Brackets
0bf1ef5773
Improve sceIoGetDevType() return values.
...
At least for block/file devices. Can't find a way to get an alias.
2013-12-27 08:04:00 -08:00
Unknown W. Brackets
23971e9900
Implement ioctl command 0x01020002.
2013-12-27 08:03:59 -08:00
Unknown W. Brackets
dbf86187e3
Add Ioctl() to IFileSystem, cleaner.
2013-12-27 08:03:59 -08:00
Unknown W. Brackets
8c34f5f78e
Implement ioctl command 0x01d20001.
2013-12-27 08:03:58 -08:00
Unknown W. Brackets
d916ce7658
Correct result for sceIoRead type ioctls.
2013-12-27 08:03:58 -08:00
Unknown W. Brackets
76d0cd444e
Implement ioctl command 0x01f100a6.
2013-12-27 08:03:57 -08:00
Unknown W. Brackets
2433ff5f04
Implement ioctl command 0x01f30003.
...
Wonder if this will fix anything, it was silently not reading before.
2013-12-27 08:03:57 -08:00
Sacha
3cad2ed850
Use VFS for Flash0 dir on non-Windows/Apple platforms.
2013-12-19 23:30:32 +10:00
Unknown W. Brackets
d704f39981
Report unknown devctl commands.
2013-12-17 01:55:38 -08:00
Unknown W. Brackets
fd9d4916d5
Implement ioctl 0x01030008, seems important.
...
There are a number of games using this, which might be happier now.
2013-12-17 00:17:34 -08:00
Unknown W. Brackets
c301eb9b53
Implement ioctl 0x01010005 based on PSP tests.
...
Fixes #1210 . May fix issues, since it was being silently ignored before.
2013-12-16 23:51:04 -08:00
Unknown W. Brackets
183b4cb45c
Add a static method for creating PSPPointers.
...
This is still kinda ugly, but the assignment thing was just too ugly, I
couldn't do it anymore.
2013-12-16 23:50:52 -08:00
Unknown W. Brackets
90b649c9fc
Clean up error handling for umd9660 ioctls.
2013-12-16 07:55:46 -08:00
Unknown W. Brackets
23ba2cec2f
Implement ioctl command 0x01020001.
...
Not sure what might use this...
2013-12-16 07:55:45 -08:00
Henrik Rydgård
42f5bcb263
Add ZIP icon in games browser.
...
This one's from Gnome, license should be OK.
2013-12-11 15:12:03 +01:00
Henrik Rydgard
32f479b0a6
Assorted log spam reductions.
...
Also let Java know of some important events. Not used for anything yet.
2013-12-04 17:43:00 +01:00
Unknown W. Brackets
3c006339a9
Delay, don't eat, inside the fat ms check.
...
Fixes #2118 (Star Ocean video stutter.)
2013-11-19 17:48:13 -08:00
sum2012
f3263ed4ba
Fix Buzz Ultimate Music Quiz Crash Sporadically
...
issue#4497
2013-11-14 05:21:24 +08:00
Unknown W. Brackets
879060f008
Use a CORE_POWERUP state when starting.
...
Otherwise, we could startup in CORE_POWERDOWN in a second game, which is
confusing.
2013-11-09 23:07:52 -08:00
Henrik Rydgard
3d5a85f1a7
Restore accidental change to sceAtracGetInternalInfo, minor indentation reduction, demote a log message
2013-10-22 10:53:48 +02:00
Sacha
fafe4fc4f2
Fix multi-threading crashes on shutdown with Linux and Blackberry. Fixes issue #3133 -- thanks @unknown
2013-10-17 17:39:04 +10:00
The Dax
c7bdeb3084
Eliminate GetSysDirectories and instead provide a new function: GetSysDirectory.
...
On Win32, call InitSysDirectories before the emuthread starts just to be safe.
2013-10-15 03:41:10 -04:00
Henrik Rydgard
40ee00bf46
Add pfat0: as another synonym for ms0:
...
Might fix Fired Up save issues as reported in #1290 .
2013-10-13 13:52:48 +02:00
Unknown W. Brackets
b54e557d19
Actually, let's not wait at all in Core_Stop().
...
It just triggers the action on the other thread.
2013-10-12 23:20:27 -07:00
Unknown W. Brackets
585f86c805
Make sure the io thread doesn't revive itself.
...
Stupid zombies. Stay dead.
2013-10-12 10:54:57 -07:00
Unknown W. Brackets
73d5c42596
Don't allow a new async cmd while one is busy.
...
Fixes Valhalla Knights 1. Also some logging tweaks.
2013-10-08 23:49:24 -07:00
Unknown W. Brackets
10e446d225
Notify of shutdown *after* setting coreState.
2013-09-30 23:36:57 -07:00
Henrik Rydgård
f8bc2f6c76
Merge pull request #3909 from raven02/patch-5
...
Return SCE_KERNEL_ERROR_ILLEGAL_PRIORITY when priority < 0
2013-09-30 03:27:33 -07:00
Unknown W. Brackets
086294b495
Listen for shutdown in thread loops.
...
This way we don't need to use wait_for(), much better.
Also because there are slightly more correct cond vars on win32.
2013-09-28 00:45:54 -07:00
raven02
3d210b9e85
Add comment "priority = -1 is valid"
2013-09-25 22:19:43 +08:00
raven02
99d1bfbe89
Add ERROR_LOG for Illegal Priority
2013-09-25 21:52:16 +08:00
raven02
ac95819ec1
Return SCE_KERNEL_ERROR_ILLEGAL_PRIORITY when priority < 0
2013-09-24 21:51:05 +08:00
Unknown W. Brackets
197b4a34f4
Improve error handling in sceIoLseek*().
2013-09-22 23:37:51 -07:00
Unknown W. Brackets
301884428f
Buildfixes for Symbian and iOS/etc.
2013-09-15 08:18:20 -07:00
Unknown W. Brackets
50e9e45d65
Check version in each DoState() func.
...
They bail on PointerWrap error or bad version.
2013-09-14 20:23:03 -07:00
Unknown W. Brackets
64b75ed3ff
Decentralize callback registration.
...
Callbacks are always tied to THEIR thread, and the registration was all
based on the current thread which is just not the right way.
2013-09-09 00:21:15 -07:00
Henrik Rydgard
324cde5a79
Let's actually use the log category mechanism. A first step.
2013-09-07 21:19:21 +02:00
Unknown W. Brackets
1eb858602c
Add io async wait callback handlers.
2013-09-07 11:22:48 -07:00
Unknown W. Brackets
d8d8d3b0ec
Use a different wait type for async io.
2013-09-07 11:04:42 -07:00