Commit Graph

203 Commits

Author SHA1 Message Date
Kingcom
5ddc9afba0 -save state support
-abstracted file access
-moved to VirtualDiscFileSystem class
2013-07-24 22:49:45 +02:00
Kingcom
e76ffe6b7c Supprt opening whole disc, assume file info is gathered before it's used 2013-07-23 22:23:12 +02:00
Kingcom
be548fdd2e Disable invalid file operations for virtual discs 2013-07-23 20:24:15 +02:00
Kingcom
0afd7dea28 Add error message when opening entire ISO 2013-07-23 17:53:55 +02:00
Kingcom
8955fedf44 Open directory as disc image 2013-07-23 17:24:33 +02:00
Unknown W. Brackets
45ff47589a Remove unused fpointer member. 2013-07-10 22:30:25 -07:00
Henrik Rydgard
3022a026a1 Reduce unnecessary logging when loading isos, and update native 2013-07-10 21:59:43 +02:00
Henrik Rydgård
d68c805430 Merge pull request #2704 from tpunix/master
ISOFileSystem and prxDecrypt2 patch
2013-07-08 02:05:28 -07:00
tpunix
2d50f6e074 add isBlockSectorMode to savestate 2013-07-08 16:34:09 +08:00
Henrik Rydgård
e21c5c6747 Merge pull request #2691 from thedax/master
Fix PSN eboot crashes
2013-07-08 00:46:12 -07:00
tpunix
543b08ac07 bugfix of ISOFileSystem 2013-07-08 15:17:42 +08:00
tpunix
2de2c53918 new patch for ISOFilsSystem 2013-07-08 12:35:07 +08:00
Unknown W. Brackets
10f1f198fb Fix some type conversions warnings. 2013-07-07 19:16:25 -07:00
The Dax
95cffd97b5 Fix PSN eboot crash. Allows PSN demo eboots to run again, and HD Remaster eboots to finally boot. 2013-07-07 19:07:43 -04:00
Henrik Rydgard
a8e932830e Revert part of 3ac9aa9cfb , it crashes GTA: LCS. @tpunix, might want to investigate. 2013-07-07 14:19:40 +02:00
Unknown W. Brackets
091d4ac76f Fix dumb typo. 2013-07-06 15:14:50 -07:00
tpu
3ac9aa9cfb bug fix about ISOfilesystem and sceIo 2013-07-06 23:42:49 +08:00
Henrik Rydgård
af9b1bcacd Merge pull request #2431 from unknownbrackets/io-rename
sceIoRename() ignores any path on dest
2013-06-24 13:48:54 -07:00
Unknown W. Brackets
c8ee2c0739 sceIoRename() ignores any path on dest.
Also, change the interface so it can return an error code.  Currently not
returning perfect error codes but it's better than before.
2013-06-23 20:09:44 -07:00
Unknown W. Brackets
010bd689f6 Parse sce_lbn more leniently, like the PSP does. 2013-06-23 16:21:04 -07:00
Henrik Rydgard
4eb1638cc3 Merge remote-tracking branch 'origin' into mp3-support
Conflicts:
	Core/HLE/sceAudio.cpp
	Core/HLE/sceMp3.cpp
2013-06-22 18:08:43 +02:00
Henrik Rydgard
61b510b753 Open ISOs very slightly faster by not reopening 2013-06-19 20:47:42 +02:00
Henrik Rydgard
74638ef4ae More autodownload UI work etc 2013-06-04 22:32:52 +02:00
Sacha
b39a572043 Buildfixes.
Fix C++11 usage.
Remove redundancy.
Fix st_*time re-usage.
2013-06-02 13:26:39 +10:00
Unknown W. Brackets
06c19622d5 Fix some init/type warnings. 2013-05-31 23:14:29 -07:00
Unknown W. Brackets
7687bccce6 Try to avoid possible global var name conflicts. 2013-05-31 23:14:28 -07:00
The Dax
cda9881cb9 Fix some logging typos and a comment typo. 2013-05-31 12:59:39 -04:00
The Dax
7ddf344bc1 Fix VS2010 debug builds. It was caused by my Pangya fix: I had this else statement in the wrong place. 2013-05-31 11:08:27 -04:00
The Dax
e4e642b2a7 Fix Call of Duty Road to Victory black screen caused by Pangya fix. It was just a simple oversight. 2013-05-30 23:02:53 -04:00
The Dax
77e4a8008b Fix accidental typo in MetaFileSystem.cpp. 2013-05-30 16:23:25 -04:00
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
Henrik Rydgard
b2d57ff365 VERBOSE a log statement 2013-05-13 19:25:33 +02: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
225d09555b Properly savestate umd0: references. 2013-05-12 16:37:03 -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
Henrik Rydgard
c4529eff01 Mac build fix 2013-05-08 23:48:57 +02:00
Sacha
0101636473 Buildfix: Symbian, CMake-based compiles. 2013-05-09 04:29:23 +10:00
tpu
c9af16e332 add NPUMDIMG support 2013-05-08 23:36:57 +08: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
Henrik Rydgard
b9f45e4530 Add stub framework for .pbp demos (nowhere near working). Fix an OSK crash. 2013-04-27 23:16:51 +02:00
Unknown W. Brackets
053b33f5e2 Remove the ISOFileSystem freelist, not threadsafe. 2013-04-13 13:04:39 -07: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
bfaf9d0d6d Clean up restricted ISO reading. 2013-04-03 00:18:51 -07:00
Unknown W. Brackets
417ce893dc Darn, sorry, missed a typo. 2013-03-31 23:56:21 -07:00
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