Commit graph

56 commits

Author SHA1 Message Date
Henrik Rydgård
ff8148dd92 Move native/util, native/data and native/i18 to Common/Data.
Also move colorutil.cpp/h

linking build fix experiment

Delete a bunch of unused CMakeLists.txt files

CMakeLists.txt linking fix

Don't include NativeApp.h from any headers.

Android.mk buildfix

Half of the UWP fix

Buildfix

Minor project file cleanup

Buildfixes

Guess what? More buildfixes!
2020-10-04 07:28:29 +02:00
Unknown W. Brackets
b8342fb8ec SaveState: Rename ChunkFile files to Serialize.
Makes more sense and less weird than ChunkFileDoMap, etc.
2020-08-10 08:04:05 +00:00
Unknown W. Brackets
4b4e3432cd SaveState: Split Do() into a separate header. 2020-08-10 08:03:41 +00:00
Unknown W. Brackets
4bd60ed791 Io: Fix LBN timing for virtual discs. 2020-05-22 00:31:17 -07:00
Unknown W. Brackets
d7ad43b1d9 Io: Cleanup access bits for files.
Also, we default a lot of these members, so don't need to reset.
2020-05-21 18:58:24 -07:00
Unknown W. Brackets
49abe9ed6c Io: Open sce_lbn references and whole ISO faster. 2020-05-21 18:58:24 -07:00
Unknown W. Brackets
913121cf2b Io: Consistently use error codes with OpenFile().
This gets rid of OpenWithError(), and just always returns a negative value
on error for OpenFile().  Also fixed the sequence rollover, which could've
returned 0.

0 should be considered a valid handle ideally, but left it never returning
0 to simplify cleanup in some areas.
2019-10-20 11:03:37 -07:00
M4xw
15a9a0ac8f Switch: Cleanup some includes.
Disable dlopen and tty checks too.
2019-09-28 09:22:38 -07:00
Unknown W. Brackets
048afb6d24 UI: Resolve symlinks when adding things to recent.
See #11131.  This also normalizes paths, captialization, etc. as
necessary.
2018-08-12 08:25:10 -07:00
Henrik Rydgard
ff2b6b3fca Assorted cleanup, UWP memory map fixes. PSPFlower runs in both 32-bit and 64-bit. 2017-03-23 10:02:28 +01:00
Henrik Rydgard
c219ae9e63 Further UWP fixes 2017-02-25 09:57:24 +01:00
Henrik Rydgard
fcbc20f240 Small changes to make Common and Core build under my preliminary UWP setup. 2017-02-24 18:59:41 +01:00
Unknown W. Brackets
92cdb583aa virtfs: Log properly on handler load failure. 2016-08-06 20:04:50 -07:00
Unknown W. Brackets
25c320aa4b virtfs: Avoid crash if handler cannot be loaded.
For example, if it was renamed or is for the wrong OS.
2016-08-06 19:23:46 -07:00
NCDyson
cc829f31b8 Attempt to fix segfault on VirtualDiscFileSystem::GetFileInfo for files where handler is specified 2016-05-31 06:23:53 -05:00
Unknown W. Brackets
0592f56df5 Oops, this modifies the input string it seems.
Not sure if ISOs are actually case insensitive, though?
2016-05-30 00:38:20 -07:00
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