os: bug fixes after re-review of rwlock code

This commit is contained in:
Michael Scire committed 2020-04-21 22:40:45 -07:00
1 parent 97cba5e881
commit 4f50f57bb7
3 files changed
+14 -16

No files matched your search

@@ -222,7 +222,7 @@ namespace ams::ldr::caps {
}
static constexpr util::BitPack32 Encode(u32 app_type) {
util::BitPack32 encoded(IdBitsValue);
util::BitPack32 encoded{IdBitsValue};
encoded.Set<ApplicationType>(app_type);
return encoded;
}
@@ -275,7 +275,7 @@ namespace ams::ldr::caps {
}
static constexpr util::BitPack32 Encode(bool allow_debug, bool force_debug) {
util::BitPack32 encoded(IdBitsValue);
util::BitPack32 encoded{IdBitsValue};
encoded.Set<AllowDebug>(allow_debug);
encoded.Set<ForceDebug>(force_debug);
return encoded;