Henrik Rydgård
cc3868db97
Loaders: Look for PSP/GAME/ not /PSP/GAME/.
...
Because upcoming Path changes will affect path string comparisons.
2021-05-09 17:50:59 -07:00
Henrik Rydgård
9480b6672b
Loaders: Rename Path() to GetPath().
...
Path is going to be a struct name.
2021-05-09 17:10:14 -07:00
Unknown W. Brackets
fada6583c9
Core: Fix virtual disc index reading.
...
Otherwise it thought the newline was part of the path.
2021-05-09 17:00:48 -07:00
Henrik Rydgård
2999e1cb86
Core: Remove some uses of OpenCPPFile.
2021-05-09 17:00:48 -07:00
Unknown W. Brackets
af5618705c
http: Remove timeoutless requests.
...
Let's always have timeouts. This timeout is reset even when a single byte
is sent, so it's pretty generous.
2021-05-01 11:20:05 -07:00
Unknown W. Brackets
58d46274ef
Common: FileUtil rename buildfix.
2021-04-25 14:51:39 -07:00
Henrik Rydgård
77b8a14770
Merge GetFileInfo/GetFileDetails into GetFileInfo
2021-04-25 20:52:29 +02:00
Henrik Rydgård
1b13badeb4
Move remaining FileUtil functions into the File namespace.
2021-04-25 20:38:22 +02:00
Unknown W. Brackets
1aae6e5ffc
Io: Prevent error on bad handle for DevType().
2021-04-21 20:11:23 -07:00
Unknown W. Brackets
872fecd8ed
Io: Allow early cancel of CRC calculation.
2021-02-16 19:37:48 -08:00
Unknown W. Brackets
f32f89dd90
Global: Remove some unused variables.
2021-02-15 11:59:45 -08:00
Unknown W. Brackets
9d22297a90
Windows: Use CommonWindows more consistently.
...
Also, make sure WinSock2.h is included beforehand where it's needed.
2021-02-14 10:30:10 -08:00
Unknown W. Brackets
da2e722794
Windows: Fix some format warnings.
2021-02-14 10:30:10 -08:00
Unknown W. Brackets
0ffac20fcd
Common: Include unistd.h before ctime on mingw.
...
This is required for localtime_r and similar to be available.
2021-02-14 10:30:10 -08:00
Unknown W. Brackets
2c165c9b6d
Windows: Fix improper case or missing includes.
...
As per mingw errors/warnings.
2021-02-14 10:30:10 -08:00
Unknown W. Brackets
788e8c3bbc
Io: Truncate reads/writes to valid memory.
...
A PSP might crash in these cases, but it's better if we avoid a crash.
2021-02-13 08:24:39 -08:00
Unknown W. Brackets
49e9400670
Io: Consistently use LE values of ISO entries.
...
Better to be consistent across big endian and little endian, in case
something was mastered wrong.
2021-01-30 12:00:40 -08:00
Gleb Mazovetskiy
093a36eec5
Fix alignment issues in ISOFileSystem
...
Fixes #14002
2021-01-30 00:28:34 +00:00
Jan Beich
7c5b6fc320
FileSystems: add missing header
...
Core/FileSystems/FileSystem.h:102:5: error: field has incomplete type 'tm'
tm atime{};
^
/usr/include/wchar.h:111:8: note: forward declaration of 'tm'
struct tm;
^
2020-12-27 05:25:05 +00:00
shenweip
166035a87b
Simulates memory stick size to get fixed free space.
...
Some games may be sensitive to the changes of free space of memory stick, and Android's free space is usually variable.
2020-10-08 23:51:56 +08:00
Henrik Rydgård
4f43cff5ca
Move fileutil, net, image loaders, ui to Common. ( #13506 )
...
* Move and rename file_util/fd_util to Common/File/FileUtil and DirListing
Let's also move net while we're at it.
Move the ZIM/PNG loaders over to Common.
Move the UI framework into Common
iOS buildfix
* Buildfix
* Buildfixes
* Apple buildfix
* This typo again..
* UWP buildfix
* Fix build of PPSSPPQt, such as it is (it's not in good condition...)
* Guess what? Another buildfix.
2020-10-04 20:48:47 +02:00
Henrik Rydgård
989e353482
Common.h shouldn't include Log.h.
...
Buildfixes
More buildfixes. Move JSON code to common.
2020-10-04 11:42:14 +02:00
Henrik Rydgård
9e41fafd0d
Move math and some file and data conversion files out from native to Common.
...
Buildfixing
Move some file util files
Buildfix
Move KeyMap.cpp/h to Core where they belong better.
libretro buildfix attempt
Move ini_file
More buildfixes
2020-10-04 09:12:46 +02:00
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
Henrik Rydgård
3162f30158
Merge base/basictypes.h into Common/Common.h (mostly).
2020-09-29 15:51:51 +02:00
Henrik Rydgård
ed88761ecc
Merge ext/native/stringutil.cpp/h into Common/StringUtils.cpp/h.
2020-09-29 15:51:51 +02:00
Henrik Rydgård
26ba65f385
Some minor logging improvements that get to tag along the previous commit
2020-08-22 00:32:51 +02:00
Unknown W. Brackets
e59951382a
Global: Make stringutil includes more explicit.
2020-08-10 07:05:22 -07: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
1dc5ee424b
SaveState: Split out Do types to reduce headers.
2020-08-10 08:03:44 +00:00
Unknown W. Brackets
4b4e3432cd
SaveState: Split Do() into a separate header.
2020-08-10 08:03:41 +00:00
Henrik Rydgård
c5e0b799d9
Remove category from _assert_msg_ functions. We don't filter these by category anyway.
...
Fixes the inconsistency where we _assert_ didn't take a category but
_assert_msg_ did.
2020-07-19 20:33:25 +02: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
9b112efa0b
Headless: Handle umd mapping with block devices.
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
c829ccb87d
Io: Track whether the game is on a UMD or storage.
2020-05-21 18:57:46 -07:00
Unknown W. Brackets
67416e5919
Io: Simulate VFAT bug only when simulating FAT32.
...
And cleanup flag handling a bit.
2020-05-21 18:57:46 -07:00
Unknown W. Brackets
3777d32ac8
Io: Cleanup sceIoOpen errors and logging.
2020-05-21 18:56:57 -07:00
Henrik Rydgård
1ddc8ac3df
Back to ERROR
2020-03-28 14:12:42 +01:00
Henrik Rydgård
caff4591cc
Minor log improvement in BlockDevices.cpp
2020-03-28 12:40:45 +01:00
Unknown W. Brackets
08b6275bc7
Io: Apply VFAT hack only to dirs <= 8 chars long.
...
Fixes Mega Drops 2, which relies on the lowercase name at about 10
characters.
2020-03-21 22:49:19 -07:00
Unknown W. Brackets
cb1b7b1e43
Core: Bring over some file related Switch changes.
...
Reducing the distance from the Switch port code.
2020-03-03 22:53:03 -08:00
Unknown W. Brackets
5009698cc0
Core: Use a shared_ptr for i18n categories.
...
This does not make them thread safe, but it reduces the chances of a crash
a bit (see #12594.)
2020-02-09 07:35:16 -08:00
Henrik Rydgård
cef83158fd
Merge pull request #12597 from unknownbrackets/cso-futureproof
...
Core: Future proof CSO support a bit
2020-01-26 22:18:22 +01:00
Unknown W. Brackets
931dff6125
Core: Future proof CSO support a bit.
...
For CSO versions >= 2, respect the header size field and uncompressed
frame size behavior. This will allow more options for future files, like
adding a field for the CRC or otherwise.
2020-01-26 10:18:41 -08:00
shenweip
9fa4ae7b15
fix
2020-01-04 09:11:15 +08:00
shenweip
d09543ebd7
Move umd replace to loaders.
2020-01-02 14:56:24 +08:00
shenweip
fb696f8a71
Just return error if current directory not be setted.
2019-12-25 11:16:56 +08:00
shenweip
c3a489fa90
Don't ignore SCE_KERNEL_ERROR_NOCWD in many cases.
...
Use a error 1 to mean the uccessful mapping but carry with SCE_KERNEL_ERROR_NOCWD error.
2019-12-13 17:59:55 +08:00