219 Commits

Author SHA1 Message Date
Unknown W. Brackets
f14361c3b8 Add a bunch more missing cstring includes. 2013-12-30 21:37:19 -08:00
Henrik Rydgård
00c32ddadb Mostly get rid of including "Globals.h" 2013-12-30 10:17:11 +01:00
Henrik Rydgård
ce378b231f Delete CPU.cpp/h , cleanup 2013-12-30 00:11:29 +01:00
Henrik Rydgård
79ff2f0ba8 Start untangling our include mess a little. 2013-12-29 23:34:45 +01:00
Kentucky Compass
db77b52caa Save/restore local file handles and seek positions 2013-12-28 23:43:02 -08:00
Unknown W. Brackets
0c3dd53c2b Remove extraneous lookup. 2013-12-27 08:05:19 -08: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
23971e9900 Implement ioctl command 0x01020002. 2013-12-27 08:03:59 -08:00
Unknown W. Brackets
dbf86187e3 Add Ioctl() to IFileSystem, cleaner. 2013-12-27 08:03:59 -08:00
Unknown W. Brackets
f6482417ab Return an int not a u32 for proper error check. 2013-12-09 08:04:33 -08:00
Unknown W. Brackets
0636a65ad9 Use ReadEntireFile() a few more places.
This fixes one or two minor memory leaks.
2013-12-08 12:02:37 -08:00
Unknown W. Brackets
18bcf63ee9 Add a convenience helper to load a file oneshot. 2013-12-08 11:05:36 -08:00
shenweip
a611ed3930 Remount all references in Remount func. 2013-11-26 18:20:33 +01:00
shenweip
7832cebacd CleanUp. 2013-11-26 18:20:33 +01:00
Henrik Rydgard
ab6bdfa84d Workaround for a weird I/O issue 2013-11-23 12:49:32 +01:00
Henrik Rydgard
a028f07951 Turn down some logging. 2013-11-08 18:52:07 +01:00
Henrik Rydgård
4b063228f6 Fix path bug by using the right quotes.. 2013-10-20 10:46:23 +02:00
Unknown W. Brackets
3499ef341a Support \ paths within filenames. 2013-10-19 17:06:29 -07:00
Unknown W. Brackets
e95f55a5fe Fix some enum type warnings. 2013-10-19 14:57:45 -07:00
Unknown W. Brackets
8c022d56be Support non-pfat0 savestates, slightly hacky... 2013-10-13 09:34:20 -07:00
Unknown W. Brackets
132577a050 Ignore leading spaces on absolute paths.
Weird but true.  Not sure if it will help any game.
2013-10-08 23:55:51 -07:00
Unknown W. Brackets
ade4f76ac1 Don't try to load bogus isos, carnage awaits. 2013-10-05 11:12:52 -07: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
Unknown W. Brackets
657f7f1a2d Improve DirectoryFileSystem's wide char handling. 2013-09-07 16:14:41 -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
Unknown W. Brackets
8ccd3773d9 Open files using wide functions on win32.
Fixes #3432.
2013-08-27 00:28:46 -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
2488bce9ef Doesn't seem like this is an issue anywhere. 2013-08-21 08:40:30 -07:00
Unknown W. Brackets
25c07aa945 Don't warn for umd0: and ms0:, not problems. 2013-08-18 18:38:05 -07: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
c6c821a0f7 Fix some unitinialized values. 2013-08-12 23:33:11 -07:00
Unknown W. Brackets
008052e6d6 Fix some variable hiding warnings. 2013-08-12 23:32:38 -07:00
Unknown W. Brackets
54ca1e212f Unmount filesystems during HLE shutdown.
Fixes #3115.
2013-08-10 14:04:07 -07:00
Unknown W. Brackets
333cc33efb Handle OpenFile() errors in a more threadsafe way.
Probably needs better cleanup though.
2013-08-10 09:54:14 -07:00
Unknown W. Brackets
b5ac31bbea Add locks to all the pspFileSystem methods. 2013-08-10 09:27:06 -07:00
Lioncash
998ac27bf0 Fix a possible memory leak in BlockDevices.cpp. 2013-08-06 19:03:38 -04:00
CPkmn
5729523d9c ISOFileSystem support for umd0:umd0
Allows Bleach: Soul Carnival 2 to find what it's looking for in its boot process (umd0:umd0). The game is still stuck in a blackscreen, but the boot process seems better than before (judging from the logs).

Prior to requesting umd0:umd0 the log is interesting. This is the second game I've seen waiting within a callback, and having something other than hleDelayResultFinish waking up an HLE-blocked thread.
2013-08-02 04:28:01 -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
Unknown W. Brackets
32de51fdf7 Use u32_be where appropriate as well. 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