mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-20 09:55:07 -04:00
os: bug fixes after re-review of rwlock code
This commit is contained in:
parent
97cba5e881
commit
4f50f57bb7
3 changed files with 14 additions and 16 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue