mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-31 12:31:45 +01:00
Fix bitset formatting
This commit is contained in:
parent
445e5def42
commit
d347145855
@ -399,3 +399,15 @@ public:
|
||||
return atomic_storage<under>::btc(m_data.m_data, static_cast<uint>(static_cast<under>(rhs)));
|
||||
}
|
||||
};
|
||||
|
||||
template <typename T>
|
||||
struct fmt_unveil<bs_t<T>, void>
|
||||
{
|
||||
// Format as is
|
||||
using type = bs_t<T>;
|
||||
|
||||
static inline u64 get(const bs_t<T>& bitset)
|
||||
{
|
||||
return static_cast<std::underlying_type_t<T>>(bitset);
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user