ams: basic support for compiling with gcc 16
This commit is contained in:
1 parent
fcd46b4419
commit
3a3a2ca99b
7 files changed
+39
-13
No files matched your search
@@ -47,7 +47,7 @@ namespace ams::hos {
|
||||
#endif
|
||||
|
||||
exosphere::ApiInfo GetExosphereApiInfo(bool allow_approximate) {
|
||||
exosphere::ApiInfo info;
|
||||
exosphere::ApiInfo info = exosphere::ApiInfo{ util::BitPack64{0} };
|
||||
#if defined(ATMOSPHERE_OS_HORIZON)
|
||||
while (true) {
|
||||
if (R_SUCCEEDED(GetExosphereApiInfo(std::addressof(info)))) {
|
||||
|
||||
@@ -220,6 +220,9 @@ namespace ams::ncm {
|
||||
|
||||
/* Assert that we copied the right number of infos. */
|
||||
AMS_ASSERT(count == fragment_count);
|
||||
|
||||
/* TODO: Unused variable. */
|
||||
AMS_UNUSED(count);
|
||||
|
||||
R_SUCCEED();
|
||||
}
|
||||
@@ -432,6 +435,9 @@ namespace ams::ncm {
|
||||
|
||||
/* Assert that we copied the right number of infos. */
|
||||
AMS_ASSERT(count == fragment_count);
|
||||
|
||||
/* TODO: Unused variable. */
|
||||
AMS_UNUSED(count);
|
||||
|
||||
R_SUCCEED();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user