5a7f615da1
kernel: Update to use atmosphere macros and correct Result ( #7242 )
...
* kernel: Switch to atmosphere style macros
* code: Rename ResultCode to Result
* code: Result constants are lower case
* Address review comments
* core: Remove CASCADE_CODE
* R_TRY replaces completely
* core: Run clang format
2023-12-31 09:01:40 -08:00
2126c240cd
core: backport some ResultCode updates ( #6645 )
...
Co-authored-by: Lioncash <mathew1800@gmail.com >
Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com >
2023-07-03 02:23:53 +02:00
7edc86a9bc
code: Remove outdated comment style ( #6640 )
2023-06-25 15:22:41 +05:30
7f8151b9b9
savedata_archive: Make GetFreeBytes return a more accurate value
...
Previously, we were returning a value that was way too big, causing an integer overflow in Fractured Souls.
According to wwylele, the biggest oberserved save size for 3DS is 1MB, so this new value should leave plenty of room, even if games use a bigger size.
2020-04-29 05:42:40 +02:00
9525d81344
More base-derived fixes
2020-02-13 17:42:07 +08:00
996aba39fe
Correct exports; add some file serialization; fix service base object serialization
2020-02-13 17:42:07 +08:00
fc7e6c9cc9
fs_user: Add a delay for each file open
2019-03-06 16:09:24 +01:00
7d8f115185
Prefix all size_t with std::
...
done automatically by executing regex replace `([^:0-9a-zA-Z_])size_t([^0-9a-zA-Z_])` -> `$1std::size_t$2`
2018-09-06 16:03:28 -04:00
0eab948728
reformat all files with clang-format
2018-06-29 16:56:12 +03:00
7c5a76e58b
log: replace all NGLOG with LOG
2018-06-29 14:18:07 +03:00
d81cacfb9e
core/file_sys: Replace logging macros
2018-06-07 23:06:44 +08:00
06a7676ed1
Add DelayGenerator for all file backends
2018-02-24 14:15:57 +01:00
941a722ff1
Handle invalid filenames when renaming files/directories
2017-07-31 17:11:53 +10:00
f352a741d3
core: fix savedata_archive.cpp warnings about unhandled enumeration values on OSX
2017-01-29 21:50:25 +01:00
7166fdc490
FileSys: add SaveDataArchive
...
The error checking of SaveDataArchive is completely different from DiskArchive, so it has to be a new class instead of a subclass of DiskArchive.
2016-11-19 17:17:19 +02:00