cellSpurs: Implement more HLE functions (part 1)

This commit is contained in:
Eladash 2020-10-05 15:37:59 +03:00 committed by Ivan
parent a5cff8b186
commit c628147521
3 changed files with 561 additions and 90 deletions

View file

@ -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