cellSpurs: Implement more HLE functions (part 1)
This commit is contained in:
+8
-2
@@ -269,15 +269,21 @@ class b8
|
||||
public:
|
||||
b8() = default;
|
||||
|
||||
constexpr b8(bool value)
|
||||
constexpr b8(bool value) noexcept
|
||||
: m_value(value)
|
||||
{
|
||||
}
|
||||
|
||||
constexpr operator bool() const
|
||||
constexpr operator bool() const noexcept
|
||||
{
|
||||
return m_value != 0;
|
||||
}
|
||||
|
||||
constexpr bool set(bool value) noexcept
|
||||
{
|
||||
m_value = value;
|
||||
return value;
|
||||
}
|
||||
};
|
||||
|
||||
#ifndef _MSC_VER
|
||||
|
||||
Reference in New Issue
Block a user