mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 00:11:24 +12:00
cellSpurs: Implement more HLE functions (part 1)
This commit is contained in:
parent
a5cff8b186
commit
c628147521
3 changed files with 561 additions and 90 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue