17 Commits
Author SHA1 Message Date
BeWorld 52fbe6620a BACKENDS: MORPHOS: enhanced init and add features
- Add initBackend (same as AmigaOS)
- Add getSystemLanguage() to detect system language (use SDL_GetPreferredLocales)
2024-11-23 19:24:02 +02:00
Le Philousophe fdd11d0714 BACKENDS: FS: Implement atomic file write for stdio stream backend
This implementation creates a temporary file (suffixed with .tmp) and
renames it to the expected file name when the file is closed.
If the renaming fails, the destination file is removed and renaming is
tried again to handle cases where renaming over an existing file is not
supported by the underlying OS.
2024-10-15 22:45:50 +02:00
Le Philousophe e61dac6c68 BACKENDS: Allow write streams to be created atomically
When creating an atomic write stream, the file is only created once it
is closed.
This can be done using a temporary file.
This commit only adds the API but not the proper implementation.
2024-10-15 22:45:50 +02:00
Le Philousophe a60e8ff2cb MORPHOS: Don't use unsafe sprintf and vsprintf 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
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Paul Gilbert 9db14ee109 BACKENDS: Update all the backends to support SeekableWriteStream 2021-08-08 18:13:30 -07: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 abd09fd5b0 MORPHOS: Fix oversight in debug message 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
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 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