Commit Graph
553 Commits
Author SHA1 Message Date
Donovan Watteau 0eb9ca84de BACKENDS: Make StdioStream use a 64-bit fseeko/ftello on more platforms
Note that using fseeko64() means that fopen64() should be used instead.
2022-12-11 21:48:33 +01:00
elasota cc11b531e3 JANITORIAL: Clean up all non-engine Visual Studio warnings. 2022-12-04 00:08:48 +01:00
Le Philousophe 43997e2911 WIN32: Don't use unsafe sprintf and vsprintf 2022-10-23 22:46:19 +02:00
Le Philousophe a60e8ff2cb MORPHOS: Don't use unsafe sprintf and vsprintf 2022-10-23 22:46:19 +02:00
Le Philousophe 7c657796f4 POSIX: Don't use unsafe strcat and strcpy
It was commented but still
2022-10-23 22:46:19 +02:00
Le Philousophe 15e7346f1c MORPHOS: Don't use unsafe strcat and strcpy 2022-10-23 22:46:19 +02:00
Le Philousophe 5a0e4ced67 AMIGAOS: Don't use unsafe strcat and strcpy 2022-10-23 22:46:19 +02:00
Hubert Maier 874f894936 AMIGAOS: Fix oversight in debug output 2022-10-23 21:45:10 +02:00
Hubert Maier 24ce65629a AMIGAOS: Coding convention 2022-10-23 00:06:33 +03:00
Hubert Maier 022995f4ad AMIGAOS: Clean up 2022-10-23 00:06:33 +03:00
Le Philousophe 337ec7f6d9 VITA: Fix build with latest toolchains
This whole workaround may be unnecessary though as mkdir seems to be
implemented correctly on lastest Vita toolchain.
2022-06-01 12:45:29 +02:00
Eugene Sandulenko 5e05f93f36 ALL: Remove Symbian port 2022-05-28 12:32:29 +02:00
Hubert Maier a83ce7d609 AMIGAOS: Revise directory creation
- Change warnings to debug
- Fix trailing slash
2022-05-14 09:55:55 +03:00
Hubert Maier 49c7f4c6a1 AMIGAOS: Add directory creation to FS 2022-05-14 09:55:55 +03:00
Antoniou Athanasios 3ee5a99619 ANDROID: More safeguards against empty path in browser 2022-03-02 14:29:56 +02:00
Thunderforge fd129ebc0c JANITORIAL: "Mac OS X" and "OS X" to "macOS" in comments
Apple's desktop operating system was formerly called "Mac OS X" and "OS X", but since 2016 it has been called "macOS" (starting with version 10.12).

Changing across all comments and documentation to use this current terminology, except in cases where the historical versions are explicitly referenced. No code changes are made; we should consider changing those in future PRs.
2022-01-29 14:15:05 +01:00
Le Philousophe 675695c708 PSP: Fix build failures with latest PSP toolchain
The new PSP toolchain automatically links system libraries which wasn't
the case before. The ordering of libraries builtin in GCC and our spec
file collided. This fixes the order.
PSP SDK includes time.h so it needs an exemption.
A warning was emitted about a if without curly braces which are needed.
2021-12-31 09:50:53 +01:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh 44219dfa1a BACKENDS: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
Orgad Shaneh b11c5ace90 BACKENDS: JANITORIAL: Remove 'virtual' when override is specified 2021-11-14 14:31:41 +02:00
SupSuper 8c86319923 BACKENDS: Use U32String for FSNode::getDisplayName 2021-08-23 21:22:27 +01:00
Carlo Bramini f44e87dfb7 WIN32: Remove F_OK/R_OK/W_OK hack (#3265)
In backends/fs/windows/windows-fs.cpp, the macros F_OK/R_OK/W_OK are not defined by system includes of MSVC, so they have been added manually into the code.
While this solution works, in my opinion it would be much cleaner to use GetFileAttributes() for getting this information.
Actually, this is what the _access()/_waccess() functions do and, afterall, this is a piece of code expected to work on Windows only.
2021-08-13 21:58:01 +03:00
Cameron Cawley 423f4cce6b BACKENDS: Add override and final keywords 2021-08-12 15:16:48 +01:00
Paul Gilbert 9db14ee109 BACKENDS: Update all the backends to support SeekableWriteStream 2021-08-08 18:13:30 -07:00
Fiodar Stryzhniou b7dfd620be SYMBIAN: FS: Fix codestyle from #3170. 2021-08-02 15:13:07 +03:00
antoniou 4ac31d5481 ANDROID: Use SAF if a directory is not writeable 2021-08-01 16:10:54 +03:00
D G Turner 4cbbabf1a2 SYMBIAN: Minor Fixes for Code Formatting Conventions
No functional change.
2021-07-17 05:43:13 +01:00
Fiodar Stryzhniou 6ddfb08b16 SYMBIAN: Simplify access to file server session.
This fixes bug #12728.
2021-07-16 01:10:34 +01:00
Paul Gilbert 92bc05ba7c BACKENDS: Symbian compilation fix 2021-07-10 14:48:31 -07:00
Cameron Cawley ceb5f67c05 N64: Fix compilation 2021-07-09 23:17:54 +01:00
Le Philousophe ced1ffd336 PSP: Ensure functions signatures match the parent ones 2021-07-09 17:20:28 +02:00
Le Philousophe 37e997730c PSP: Fix build 2021-07-09 17:20:28 +02:00
Paul Gilbert bb83fdfbfc WIN32: Add StdioStream 64-bit changes for different systems 2021-07-08 18:24:28 -07:00
Paul Gilbert 76e2a42240 ENGINES: Convert advanced detector file sizes to int64 2021-07-08 18:24:28 -07:00
Paul Gilbert 005561d305 COMMON: Increase Stream pos, seek, size from int32 to int64 2021-07-08 18:24:28 -07:00
sluicebox e592afe160 WIN32: Make StdioStream UNICODE compatible 2021-06-29 12:38:01 -05:00
sluicebox fbf16c5a58 WIN32: Make WindowsFilesystemNode UNICODE compatible 2021-06-29 12:38:01 -05:00
Orgad Shaneh a05e54f00c JANITORIAL: Remove trailing whitespaces 2021-05-04 11:46:30 +03:00
BeWorld 3e7eb8485e MorphOS: cleanup code
- remove utf8toLocal and use internal encode
- save only path (drawer) on browser_lastpath
2021-05-01 20:00:01 +03:00
Hubert Maier ae9ad5b187 AMIGAOS: Revert MorphOS change (taken care in another PR) 2021-05-01 18:03:13 +02:00
Hubert Maier 630a58d262 AMIGAOS: Revert most of the superfluous spaces 2021-05-01 18:03:13 +02:00
Hubert Maier abd09fd5b0 MORPHOS: Fix oversight in debug message 2021-05-01 18:03:13 +02:00
Hubert Maier d0185f5172 AMIGAOS: Quite some clean up
- Cleaned up comments
- Debug messages enhanced
- Fix some leftover spaces instead of TABs
- Removed the newlib workaround: A new version has been released which fixed the cause
- Removed an old workaround dealing with a buffer set too low due to an ill combination of newlib build and disk filesystem.
Even forcing the described behaviour i was not able to see slowdowns in videos.
Also, since "slow video playback" is rather vague and no specific case were given in the comment, i wasn´t able to do specific tesing.

Works for me...
2021-05-01 18:03:13 +02:00
Eugene Sandulenko 5e7fe2dc57 JANITORIAL: Replace spaces in indentation with tabs 2021-04-15 21:20:36 +02:00
Cameron Cawley 8c9eb8edc8 DS: List all available devices in the file browser 2021-02-04 01:59:14 +01:00
Cameron Cawley 28086f4f8a DS: Replace outdated filesystem code 2021-02-04 01:59:14 +01:00
Hubert Maier e19d4e197b AMIGAOS: Keep platform name continuity (#2643) 2020-11-26 15:10:01 +01:00
antoniou 8fe6aae59e ANDROID: Use SAF for folder and file creation when normal way fails
Should affect only external "secondary" storage (eg. physical SD card)
2020-11-01 19:38:07 +02:00
Cameron Cawley 5c255b3aa9 WIN32: Add override and final keywords 2020-10-16 18:32:08 +01:00
Cameron Cawley 70aebaca5b WII: Add override and final keywords 2020-10-16 17:46:43 +01:00