Unknown W. Brackets
9f668a1d31
VirtFS: Normalize leading slashes in index.
...
Otherwise, we might consider "/x" and "x" to be different files, and fail
to use the handler properly.
2016-05-29 22:13:33 -07:00
Henrik Rydgard
6fcbfabdd2
Rename fields to avoid some gross #define hack that linux is doing
2015-09-23 12:10:23 +02:00
Henrik Rydgard
77e9ea38aa
Get rid of remaining uses of stat() on Windows
2015-09-23 11:34:22 +02:00
Henrik Rydgard
58d3137b10
Get rid of a bunch of more uses of stat64 on Windows.
2015-09-23 09:48:55 +02:00
Kingcom
efa2566192
Don't read past the end of sce_lbn files on virtual discs
2015-03-01 00:45:57 +01:00
Unknown W. Brackets
52288f5905
Report any attempt to read a negative size.
...
If this should return an error, that should be handled in sceIo.
2015-01-09 15:50:06 -08:00
Unknown W. Brackets
8f3a8fd233
Very rough approximation of UMD seek delays.
2014-12-26 01:15:18 -08:00
Unknown W. Brackets
d6a113809b
Add basic infrastructure to time io better.
...
This allows the filesystems to more accurately control timing.
But they're not actually doing it yet (same timing as before.)
2014-12-26 01:15:17 -08:00
Lioncash
cd26b200b2
Core: Get rid of a few c_str/strlen calls
2014-12-03 17:15:05 -05:00
Lioncash
c54b7c1ec4
Get rid of unnecessary c_str calls in VirtualDiscFileSystem.cpp
2014-05-27 21:57:10 -04:00
Unknown W. Brackets
943bc7ee78
Oops, close the dir after listing it in ms0:/.
...
This was affecting some savedata modes, and showed up on tests. Not sure
how it might've affected games, probably not much.
2014-03-30 19:34:19 -07:00
Unknown W. Brackets
0bf1ef5773
Improve sceIoGetDevType() return values.
...
At least for block/file devices. Can't find a way to get an alias.
2013-12-27 08:04:00 -08:00
Unknown W. Brackets
dbf86187e3
Add Ioctl() to IFileSystem, cleaner.
2013-12-27 08:03:59 -08:00
Unknown W. Brackets
50e9e45d65
Check version in each DoState() func.
...
They bail on PointerWrap error or bad version.
2013-09-14 20:23:03 -07:00
Kingcom
043c73f354
Fix linux version too
2013-09-08 00:22:30 +02:00
Kingcom
726297ea52
Fix VirtualDiscFileSystem::GetDirListing
2013-09-08 00:06:56 +02:00
Henrik Rydgard
8c88dff5a4
More log categories, use them (and existing ones). Improve log config.
2013-09-07 22:02:55 +02:00
Unknown W. Brackets
7349de55d1
Fix some initialization/sprintf warnings.
2013-09-01 01:15:07 -07:00
Henrik Rydgard
55aa3d13c7
Win32: Switch to a UNICODE build. This took quite a bit of fixing.
2013-08-26 19:00:16 +02:00
Unknown W. Brackets
51e5cfab40
Small warning fix.
2013-08-15 01:35:06 -07:00
Unknown W. Brackets
8ab67b1674
Fix some warnings.
2013-08-13 21:05:54 -07:00
Unknown W. Brackets
008052e6d6
Fix some variable hiding warnings.
2013-08-12 23:32:38 -07:00
Unknown W. Brackets
ae993b67e3
Properly return sector info in virtfs.
2013-07-30 01:19:47 -07:00
Henrik Rydgård
27d1f81805
Merge pull request #2971 from unknownbrackets/virtfs
...
Fix VirtualDiscFileSystem handlers on Linux/Mac
2013-07-29 09:30:58 -07:00
Unknown W. Brackets
0ff6aefee3
Add some names so no one is confused.
2013-07-28 22:03:34 -07:00
Unknown W. Brackets
649c2bff73
Add virtfs handler support on Mac/Linux.
2013-07-28 22:02:27 -07:00
Unknown W. Brackets
8505d255fc
Fix Linux parsing of .ppsspp-index.lst file.
2013-07-28 22:02:27 -07:00
Unknown W. Brackets
7b7801d59a
Switch to including Windows.h from an intermediate.
...
This makes it easier for Xbox which uses a separate header.
2013-07-28 21:04:19 -07:00
Sacha
c91c07c89d
Buildfix.
2013-07-29 11:37:51 +10:00
Unknown W. Brackets
55ed8d648b
Add a param to log filenames in virtfs handlers.
2013-07-28 13:09:00 -07:00
Unknown W. Brackets
5c0796ed57
Switch to .lst instead of .ini.
2013-07-28 12:50:02 -07:00
Unknown W. Brackets
bd7c57c944
Implement a stub for handlers in GetFileInfo().
2013-07-28 12:38:56 -07:00
Kingcom
a56e3a1a99
Oops, typo.
2013-07-28 12:38:56 -07:00
Unknown W. Brackets
1e32599f2d
Implement virtfs file handlers.
2013-07-28 12:38:53 -07:00
Unknown W. Brackets
150a5c8f70
Add basic infrastructure for file handler plugins.
...
The purpose of this is for games which use archive file formats
(containing many individual files), so that assets, files, etc. can be
worked on more rapidly.
2013-07-28 12:36:16 -07:00
Kingcom
66f19b9cca
Fix issues
2013-07-28 12:34:25 -07:00
Unknown W. Brackets
f6859d21cc
Add .ppsspp-index.ini for virtfs dirs, for LBAs.
...
This way games that hardcode lbns in a file or elf can still be used.
2013-07-28 12:33:23 -07:00
Unknown W. Brackets
a01d84ac30
List directories in virtfs too.
...
Well, basically the same as directory, just skipping `.` and `..`...
2013-07-28 12:33:22 -07:00
Unknown W. Brackets
a2763a298e
Minor simplification to virtfs savestate.
2013-07-28 12:33:18 -07:00
Unknown W. Brackets
256394b2bf
Move VirtualDiscFileSystem to its own file.
2013-07-28 12:31:48 -07:00