Commit graph

136 commits

Author SHA1 Message Date
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