Commit Graph

97 Commits

Author SHA1 Message Date
Unknown W. Brackets
fbfc1b7f10 Correctly read ISO 9660 directory entries.
Before, we would often duplicate the last entry in a directory.
2013-02-09 21:26:55 -08:00
Henrik Rydgård
b40aca67fd Merge pull request #625 from unknownbrackets/buildfix
Use RemoveFile instead of DeleteFile in fs
2013-02-09 00:16:59 -08:00
Unknown W. Brackets
db18eba388 Fix a crash in CSO reading (probably a bad rip.)
This could happen if sce_lbn is used out of bounds, maybe?
2013-02-08 23:52:22 -08:00
Unknown W. Brackets
2ea113369b Fix memory leak in CSO reading. 2013-02-08 19:27:42 -08: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
Henrik Rydgard
349f1bd56b Windows build fix :P 2013-02-04 20:20:50 +01:00
Henrik Rydgard
7a36619174 Android buildfix + cleanup 2013-02-04 20:19:24 +01: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
2a6457b6ab Cut down on h files including PointerWrap.
This makes changes to it a bit faster to build.
2013-02-04 08:26:59 -08:00
Unknown W. Brackets
cdb676f17a Stop shadowing the i variable. 2013-01-31 00:02:53 -08:00
KentuckyCompass
83fa725424 std::string is not UTF8-aware 2013-01-22 06:59:22 -08:00
KentuckyCompass
f9a843fb28 add case insensitivity to GetDirListing 2013-01-22 06:31:42 -08:00
Sacha
0ce45cef55 Update for Qt project files. New Symbian icon (Belle style) thanks to z435312561. Stat64 -> stat. 2013-01-22 16:17:44 +10:00
Unknown W. Brackets
5170931aad Buildfix for Windows. 2013-01-21 01:15:57 -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
Unknown W. Brackets
140fd171ef Fix some 64-bit type conversion warnings. 2013-01-19 13:48:20 -08:00
raven02
289b0eb81e Add/update stubs in sceIo 2013-01-17 20:05:45 +08: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
d26bebc685 Return an error if the raw lbn is too high. 2013-01-09 01:13:38 -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
Unknown W. Brackets
b7be025bde Fix basic seeking within an lbn raw file. 2013-01-09 00:45:59 -08:00
Unknown W. Brackets
a59fe8eb0f Fix sce_lbn parsing for missing 0x, etc. 2013-01-09 00:10:52 -08:00
Mathias Tillman
b780e39397 Fixed various potential bugs and compiler warnings 2013-01-07 15:57:19 +01:00
Sacha
aa99c3f859 Make dir scan work cross-platform. Update Qt project files. 2012-12-31 17:52:57 +10:00
Henrik Rydgard
a9c171c786 Fix bAutoRun config option, add to menu. (Run on Load). 2013-01-04 10:26:14 +01: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
Arthur Blot
c2851467e5 No more useless errors/warnings at all! 2013-01-02 19:42:15 +01:00
Xele02
45c9ed389c Implement mode 11 2012-12-29 23:56:45 +01:00
Unknown W. Brackets
1768365c13 Fix a memory leak in the ISO filesystem. 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
Henrik Rydgård
29bc06ae32 Possible buildfix 2012-12-28 16:52:01 +01:00
Henrik Rydgård
1a378ea7a9 Try to fix linux build 2012-12-27 23:41:22 +01:00
KentuckyCompass
57ee25e239 Fix brain fart. 2012-12-27 06:36:00 -08:00
Henrik Rydgård
bafb63ca72 Merge pull request #267 from KentuckyCompass/case_insensitive2
Case insensitive2
2012-12-27 06:06:00 -08:00
KentuckyCompass
33429ebf93 Confirmed: PSP ignores .. beyond root. 2012-12-27 05:27:13 -08:00
KentuckyCompass
1c5ea99031 Remove pointless string clear() 2012-12-27 05:14:06 -08:00
KentuckyCompass
3862aea4de Minor comment edit. 2012-12-27 04:28:28 -08:00
KentuckyCompass
9e85c01c1f Simulate case insensitivity on case sensitive platforms. 2012-12-27 04:27:07 -08:00
KentuckyCompass
725094eaef Storing a size_t returned from std::string in an int and checking for negative is weird. 2012-12-27 04:23:04 -08:00
KentuckyCompass
928150fbf4 Add an ERROR_LOG for GetDirListing not implemented on non-Windows. 2012-12-27 04:15:08 -08:00
KentuckyCompass
3839179a09 Implement opening for append in DirectoryFileSystem. Add more non-Windows access modes. 2012-12-27 03:25:21 -08:00
KentuckyCompass
a0e1ab1181 Reindent. 2012-12-27 03:25:21 -08:00
KentuckyCompass
f5998d524a Add HOST_IS_CASE_SENSITIVE define 2012-12-27 03:25:21 -08:00
Henrik Rydgård
1328413dfc Filesystems: add host0: hack, proper shutdown of DirectoryFileSystem 2012-12-26 08:24:19 +01:00
Unknown W. Brackets
965592eda8 Fix sceIoRemove() on Windows infinite looping. 2012-12-22 09:01:59 -08:00