502 Commits

Author SHA1 Message Date
Alexander Reim
1994249ef2 WII: Add support for WiiFilesystemNode::createDirectory() 2020-10-01 13:03:52 +02:00
Alexander Reim
92e37fd810 WII: File system access performance optimization
Games load up to 30 times faster. For example, the Zork games took up to 10 minutes to start. Now they load in under 20 seconds. Similar improvements can be seen in the massadd feature.
2020-09-26 17:54:50 +02:00
Bastien Bouclet
1c5f923083 PSP2: Simplify the filesystem code
The Vita SDK gained support for dirent at the end of 2017. There is no
need to have our own version anymore.

DrivesPOSIXFilesystemFactory allows to specify the contents of the
pseudo-root file system node. There is no need to hardcode them in
posix-fs.cpp anymore.
2020-09-15 07:13:00 +02:00
Cameron Cawley
75852a786a BACKENDS: Split ModularBackend into two separate classes 2020-08-24 14:22:35 +02:00
Eugene Sandulenko
3d79ce5cc0 MORPHOS: Update backends/fs/stdiostream.cpp
Co-authored-by: Cameron Cawley <ccawley2011@gmail.com>
2020-08-21 00:59:18 +02:00
BeWorld
94b31c086d MORPHOS: Update morphos-fs.cpp 2020-08-21 00:59:18 +02:00
BeWorld
84b1274219 MORPHOS: Update morphos-fs.cpp 2020-08-21 00:59:18 +02:00
BeWorld
ab37562d05 MORPHOS: Update morphos-fs.cpp
Clean up
2020-08-21 00:59:18 +02:00
BeWorld
d972d00ca2 MORPHOS: Update morphos-fs.h 2020-08-21 00:59:18 +02:00
BeWorld
e83502a2db MORPHOS: Update morphos-fs.cpp
Update
2020-08-21 00:59:18 +02:00
BeWorld
c9c53b6872 MORPHOS: MorphOS Support 2020-08-21 00:59:18 +02:00
BeWorld
7bc8340f69 MORPHOS: MorphOS Support 2020-08-21 00:59:18 +02:00
Eugene Sandulenko
aa563f0c81 ALL: Remove PS2 port 2020-08-01 15:15:49 +02:00
Bastien Bouclet
99b9db456a 3DS: Disable newlib buffered io and use ScummVM's implementation
Fixes #11342.
2020-02-07 18:33:56 +01:00
Bastien Bouclet
36ef316518 BACKENDS: Allow to configure the stdio buffer size 2020-02-07 18:33:56 +01:00
Thanasis Antoniou
0357293897 ANDROID: Fix crash due to adding '.' folder in SearchManager 2019-12-16 22:59:10 +02:00
Bastien Bouclet
f8d551803c POSIX: Use fstat instead of fseek / ftell to retrieve file stream sizes
fstat is generally faster as is does not cause the IO buffer to be
invalidated / refilled.

Benchmark results for the startup time of the SCI engine with Gabriel
Knight 1 CD:
- Linux, glibc, spinning HDD, fseek/ftell: 140 ms
- Linux, glibc, spinning HDD, fstat: 100 ms
- 3DS, newlib, SD card, fseek/ftell: 68 s
- 3DS, newlib, SD card, fstat: 11 s
2019-11-20 20:54:23 +01:00
Cameron Cawley
f2b9f7bb76 BACKENDS: Remove the Windows CE port 2019-11-17 22:33:56 +01:00
Thanasis Antoniou
3e9504856f ANDROID: Override UTF-8 compliant definition of vsn_printf
This sets Android as a non-standard port in configure in order to override the definition for vsn_printf

The vsn_printf implementation is taken from https://github.com/weiss/c99-snprintf
2019-11-12 20:01:43 +02:00
Hubert Maier
1f5185f130 AMIGAOS4: Formatting 2019-11-10 17:28:15 +00:00
Hubert Maier
04b111db70 AMIGAOS4: Fix oversight 2019-11-10 17:28:15 +00:00
Hubert Maier
86ba632fe0 AMIGAOS4: more verbose debug comments 2019-11-10 17:28:15 +00:00
Hubert Maier
db367845d3 AmigaOS4: More fixes and cleaning 2019-11-10 17:28:15 +00:00
Hubert Maier
072e80580b AMIGAOS4: Fix leftovers 2019-11-10 17:28:15 +00:00
Hubert Maier
e30112b814 AMIGAOS4: Clean up fs
- replace sprintf with snprintf and obey MAXPATHLEN
2019-11-10 17:28:15 +00:00
Cameron Cawley
48ab35f358 RISCOS: Improve file system code 2019-11-09 18:30:21 +00:00
jepael
843e0f6a4b POSIX: Fix compiler warning 2019-11-09 16:36:30 +01:00
Bastien Bouclet
8fb57967d7 3DS: Avoid stat calls in DrivePOSIXFilesystemNode 2019-10-31 21:35:41 +01:00
Bastien Bouclet
f22e07825f 3DS: Embed ScummVM's support files in the package 2019-10-14 21:22:23 +02:00
Hubert Maier
75ebbc865f AMIGAOS4: Fix positioning of workaround
Otherwise both dos.library and it's interface will remain open in the rare (?) occasion of p.size <= 0,
2019-10-13 13:08:05 +02:00
Le Philousophe
81b364fbb3 WII: Add time.h to forbidden symbols exceptions
As network.h includes time.h, we must add this exception. We can't
include network.h before scummsys.h as inclusion depends on definitions
located in config.h which is loaded by scummsys.h.
2019-10-09 13:33:11 +02:00
Hubert Maier
3d60bee8a4 JANITORIAL: Add more info to track it down later 2019-10-08 11:32:30 +03:00
Hubert Maier
6dd67641f1 JANITORIAL: English and spacing 2019-10-08 11:32:30 +03:00
Hubert Maier
7525be638e JANITORIAL: Wording 2019-10-08 11:32:30 +03:00
Hubert Maier
bfc296bc4b AMIGAOS4: Fix NULL access 2019-10-08 11:32:30 +03:00
Eugene Sandulenko
23211392c0 ANDROID: Use external storage enumerator for the root directory 2019-09-27 00:22:20 +02:00
Cameron Cawley
281c292d67 RISCOS: Minor build system improvements 2019-09-19 17:03:09 +01:00
Alexander Tkachev
d488e1dd55 Revert "WIN32: Fix getting the parent directory of non-existant file nodes" 2019-09-16 13:15:23 +02:00
Cameron Cawley
e55e429353 WIN32: Fix getting the parent directory of non-existant file nodes 2019-09-14 19:56:43 +03:00
Cameron Cawley
196b33bb7f PSP: Implement AbstractFSNode::createDirectory() 2019-08-26 11:38:47 +02:00
Cameron Cawley
db445bfc87 BACKENDS: Improve AbstractFSNode::createDirectory() stubs 2019-08-06 07:17:29 +03:00
Cameron Cawley
66ef50cfeb BACKENDS: Rename and simplify AbstractFSNode::create() 2019-08-06 07:17:29 +03:00
Thierry Crozat
bfa1f392f7 POSIX: Fix missing expansion of "~" to home when it has no suffix
This fixes bug #10941: Tilde in save path creates "~" folder
2019-07-14 22:11:20 +01:00
Paul Gilbert
b821e8fce4 COMMON: Changed DumpFile & StdIOStream to derive from SeekableWriteStream 2019-05-12 11:44:15 +03:00
Cameron Cawley
3309c574c0 DS: Replace strlcpy with Common::strlcpy 2019-05-01 16:43:26 +01:00
Cameron Cawley
04229fd70b
POSIX: Clean up formatting 2019-04-28 15:06:31 +01:00
Cameron Cawley
ab0fab9bf9 POSIX: Move implementation of exists, isReadable and isWritable into posix-fs.cpp 2019-04-16 00:55:43 +03:00
Cameron Cawley
8c15b41dd7 RISCOS: Move the path conversion functions into a separate file 2019-04-15 16:24:51 +01:00
Cameron Cawley
bcef809e61 WINCE: Fix compilation 2019-04-15 08:06:39 +03:00
SupSuper
1d412701d1 WIN32: Always include windows.h before util.h
This avoids Windows trying to stomp our definition of ARRAYSIZE
2018-12-17 12:28:33 +02:00