Commit graph

38 commits

Author SHA1 Message Date
The Dax
370b50a328 Fix Pangya: Fantasy Golf hang when going in-game via emulating SCE_KERNEL_ERROR_NOCWD correctly, or at least, more correctly than it was before. 2013-05-30 16:15:15 -04:00
Unknown W. Brackets
ee414830f6 Add some reporting in filesystem related code. 2013-05-26 20:23:09 -07:00
Unknown W. Brackets
0f459f9000 Fail if the cwd is too long as well. 2013-05-12 17:03:46 -07:00
Unknown W. Brackets
8e1193feba Fail with an error in sceIoChdir for invalid dev. 2013-05-12 16:51:08 -07:00
Unknown W. Brackets
37aa59fb3c Keep track of disc0:/ vs. disc0: in path parsing.
The difference matters and was getting lost.
2013-05-12 16:01:38 -07:00
Sacha
2396574f45 Avoid name collision with StringUtil on Windows hosts. Fixes all Linux/Unix cross-compiles from Windows, including Harmattan and Blackberry. 2013-05-03 16:22:15 +10:00
Unknown W. Brackets
fe97fd6fc5 Add better savestate error handling.
Aborts when it can't load.
2013-04-13 01:39:17 -07:00
Unknown W. Brackets
1759bb8051 Use RemoveFile instead of DeleteFile in fs.
Windows defines DeleteFile to DeleteFileA/W, causing confusion.
2013-02-08 10:26:33 -08:00
Unknown W. Brackets
112c1e9e23 Automatically delete pointers when savestating. 2013-02-04 08:28:22 -08:00
Unknown W. Brackets
a4032c5170 Simplify savestate code so it's all automagical.
If you can't beat 'em, join 'em?
2013-02-04 08:27:01 -08:00
Unknown W. Brackets
cdb676f17a Stop shadowing the i variable. 2013-01-31 00:02:53 -08: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
KentuckyCompass
a13c2da407 rename System -> MountPoint and add convenience wrapper 2013-01-11 10:10:37 -08:00
KentuckyCompass
9f4680a267 don't chop off prefix when mapping path for chdir 2013-01-11 10:10:36 -08:00
KentuckyCompass
5ce75551d7 map chdir paths 2013-01-10 16:18:03 -08:00
KentuckyCompass
320c0d06c3 Implement per-thread current directory 2013-01-10 16:18:02 -08:00
Unknown W. Brackets
6327c6e629 Make filesystem prefix matching case fold.
Even Ms0:/, disC0:/ and HoSt0:/ etc. work.
2013-01-09 00:57:44 -08:00
Henrik Rydgard
883f61e3dd Savestates: Add quicksave/quickload. Add Android UI for savestates. All single slot for now. 2013-01-02 21:05:02 +01: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
KentuckyCompass
33429ebf93 Confirmed: PSP ignores .. beyond root. 2012-12-27 05:27:13 -08:00
Henrik Rydgård
1328413dfc Filesystems: add host0: hack, proper shutdown of DirectoryFileSystem 2012-12-26 08:24:19 +01:00
KentuckyCompass
aeafc92d3b paths with a colon are never relative 2012-12-20 05:33:05 -08:00
Henrik Rydgard
4541c3e18b Slightly better logging in path mapping 2012-12-19 11:11:56 +01:00
Henrik Rydgard
90e87ead84 Fix a relative path issue - apparently paths starting with '/' are still relative. 2012-12-18 14:13:35 +01:00
Henrik Rydgard
2937928237 Better hack for a path problem. Still don't get it. 2012-12-18 00:01:40 +01:00
Henrik Rydgard
5ff2bf84ef Path cleaning bugfix 2012-12-17 22:34:34 +01:00
KentuckyCompass
360738d366 tolerate prefix without path in current directory and quiet redundant 'starting with' message 2012-12-15 04:09:37 -08:00
KentuckyCompass
8f00757ceb remove simple current directory concatenation in favor of new relative path handling 2012-12-15 03:55:02 -08:00
KentuckyCompass
17d7e4acf5 invalid current directory should be ERROR_LOG 2012-12-15 03:48:47 -08:00
KentuckyCompass
0639abff6a more consistant messages and minor adjustments 2012-12-15 03:47:31 -08:00
KentuckyCompass
d0e8749aa1 replace host0 hack with proper relative path handling (not per thread yet) 2012-12-15 03:38:14 -08:00
Sacha
6192bdf6df sceIoRename function 2012-11-28 05:21:32 +10:00
kev :)
7c30646605 Don't append / when there is already one
Was causing marvel allience 2 to crash
2012-11-18 21:07:40 +00:00
Henrik Rydgard
12f09ed070 Some games appear to use host0 as current directory ? 2012-11-09 13:39:34 +01:00
Henrik Rydgard
f463a5a679 Fix dir listings for relative paths 2012-11-07 16:54:14 +01:00
Henrik Rydgard
c61d10363a Rewrite callback handling, part 1. All sorts of other fixes too. 2012-11-06 15:46:46 +01:00
Henrik Rydgard
64cc573703 Switch to "GPL 2.0 or later" for various reasons. I wrote most of the code I imported from Dolphin (which is GPL2-but-not-later), so it should be OK. 2012-11-04 23:24:00 +01:00
Henrik Rydgard
4f7ad15758 Add snapshot of the whole source code. 2012-11-01 16:19:01 +01:00