Commit Graph

157 Commits

Author SHA1 Message Date
Unknown W. Brackets
eeafcaff52 Typo in restricted ISO reading. 2013-03-31 23:50:10 -07:00
Unknown W. Brackets
d11a5debcb Add a way to restrict ISO reading to a single path.
This is for GameInfoCache.
2013-03-31 21:36:12 -07:00
Unknown W. Brackets
20bb55e1cb Speed up reading multiple isos in a row. 2013-03-31 20:58:24 -07:00
Henrik Rydgard
c23631a8fc Some experimental (disabled) code to have images in gamelist. Too slow, needs work. 2013-03-30 20:10:32 +01:00
Henrik Rydgard
7425532e99 Move non-Android specific stuff from android/jni to /UI.
Move source_assets one level up, too.
Also, start prototyping GameInfoCache, you'll see what it's for soon...
2013-03-30 15:46:26 +01:00
Unknown W. Brackets
be600e5095 Set the times when reading a dir on Windows.
Test doesn't pass but it's not gonna.
2013-03-07 00:02:01 -08:00
Unknown W. Brackets
f4a0709286 Correct the startSector read by sceIoDread(). 2013-03-03 22:05:23 -08:00
Henrik Rydgard
aa06c1452e Allow mounting VFS directories. Used to provide flash0 from within APK on Android. 2013-02-27 17:41:40 +01:00
Unknown W. Brackets
64c42ffaf2 Fix some warnings generated by clang. 2013-02-24 10:23:31 -08:00
Henrik Rydgard
5ace14dd30 Log level adjustments 2013-02-12 22:09:40 +01:00
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
Unknown W. Brackets
17750c7c80 Need this for the debug build. 2012-12-21 16:28:55 -08:00
Unknown W. Brackets
ec753a3575 Fix some ignored error / shadowing warnings. 2012-12-21 16:23:21 -08:00
KentuckyCompass
aeafc92d3b paths with a colon are never relative 2012-12-20 05:33:05 -08:00
Unknown W. Brackets
56fa601d24 Add include for tolower(), made Android unhappy. 2012-12-19 22:27:26 -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
Henrik Rydgard
19af6531f7 Warning fix (and I don't like shadowing) 2012-12-17 22:06:19 +01:00
TMaul
0ae55ae65c Ooops, didnt mean to leave that uncommented :) 2012-12-17 20:28:50 +00:00
TMaul
458ed7f421 Make filename checks on iso case insentitive
But still keep them logically in the same case they are on the discs
2012-12-17 20:23:36 +00:00
Henrik Rydgård
8b57b2ec0a Merge pull request #179 from KentuckyCompass/dotdotpaths
Dotdotpaths
2012-12-17 01:42:36 -08: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
Xele02
e785662747 Read PARAM.SFO for display save info
Display save modification date and time
2012-12-14 23:08:56 +01:00
Xele02
41fed02c0e Add Save Delete and Delete List function 2012-12-09 19:33:18 +01:00
Xele02
63b0b61232 Change filesystem for mounted memory card
Clean some code and comment
2012-12-09 16:59:07 +01:00
Henrik Rydgard
e370a1a8aa Fix project and .rc so it builds with VS 2010 Express, thanks Darth1701. Plus logging tweaks. 2012-11-29 10:41:48 +01: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
7720dc3f60 Various warning, logging, jit fixes 2012-11-17 19:56:28 +01:00
kev :)
3764f48bee Make the directory test pass
The test for this might need to be extended to see what happens with
multiple sub folders and large files, and i do question the expected
size of '..'
2012-11-14 21:24:57 +00:00
Henrik Rydgard
343b9435b9 A few minor fixes + buildfix 2012-11-10 23:44:14 +01:00
gigaherz
106395f392 Make sure it REALLY is a relative entry. 2012-11-10 12:32:23 +01:00
gigaherz
0571198619 Actually parse the "." and ".." entries of the filesystem, but ignore them on the list since games don't expect to see them there. 2012-11-10 12:15:44 +01:00
Henrik Rydgard
7f15f02a56 Fix raw sector ISO reading bug. 2012-11-09 14:32:40 +01:00
Henrik Rydgard
12f09ed070 Some games appear to use host0 as current directory ? 2012-11-09 13:39:34 +01:00
Henrik Rydgard
ee1f0022ff Fix LBN bug 2012-11-09 12:32:35 +01:00
Henrik Rydgard
79a433e05d Merge branch 'master' of github.com:hrydgard/ppsspp 2012-11-08 16:28:59 +01:00
Arthur Blot
449eceadba Fix reading ISO pathes with 2 following slashes 2012-11-08 14:21:55 +01:00
Henrik Rydgard
caacaf6744 Just a few small things 2012-11-07 20:59:56 +01:00
Henrik Rydgard
f463a5a679 Fix dir listings for relative paths 2012-11-07 16:54:14 +01:00
Henrik Rydgard
d769297d06 Add a flags field to HLEFunction. Fix a small path issue. 2012-11-06 19:34:17 +01:00
Henrik Rydgard
aca35fc96c More fixes and logging improvements 2012-11-06 18:56:56 +01:00
Henrik Rydgard
7894c6a1c5 Implement LBN reading in GetFileInfo, can now load modules via /sce_lbn%x_%x paths 2012-11-06 18:32:28 +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
5ee6f607c4 Fix bug I introduced in DirectoryFileSystem 2012-11-05 13:42:23 +01:00