early-access version 3090
This commit is contained in:
parent
e03f443390
commit
6130aef64d
@ -1,7 +1,7 @@
|
|||||||
yuzu emulator early access
|
yuzu emulator early access
|
||||||
=============
|
=============
|
||||||
|
|
||||||
This is the source code for early-access 3089.
|
This is the source code for early-access 3090.
|
||||||
|
|
||||||
## Legal Notice
|
## Legal Notice
|
||||||
|
|
||||||
|
@ -120,6 +120,6 @@ static_assert(std::is_final_v<KTransferMemory> && std::is_base_of_v<KAutoObject,
|
|||||||
// static_assert(std::is_final_v<KCodeMemory> &&
|
// static_assert(std::is_final_v<KCodeMemory> &&
|
||||||
// std::is_base_of_v<KAutoObject, KCodeMemory>);
|
// std::is_base_of_v<KAutoObject, KCodeMemory>);
|
||||||
|
|
||||||
static_assert(std::is_base_of<KAutoObject, KSystemResource>::value);
|
static_assert(std::is_base_of_v<KAutoObject, KSystemResource>);
|
||||||
|
|
||||||
} // namespace Kernel
|
} // namespace Kernel
|
||||||
|
@ -74,7 +74,7 @@ public:
|
|||||||
KScopedDisableDispatch dd{m_kernel};
|
KScopedDisableDispatch dd{m_kernel};
|
||||||
KScopedSpinLock lk(m_lock);
|
KScopedSpinLock lk(m_lock);
|
||||||
|
|
||||||
if constexpr (std::is_same<T, KAutoObject>::value) {
|
if constexpr (std::is_same_v<T, KAutoObject>) {
|
||||||
return this->GetObjectImpl(handle);
|
return this->GetObjectImpl(handle);
|
||||||
} else {
|
} else {
|
||||||
if (auto* obj = this->GetObjectImpl(handle); obj != nullptr) [[likely]] {
|
if (auto* obj = this->GetObjectImpl(handle); obj != nullptr) [[likely]] {
|
||||||
|
Loading…
Reference in New Issue
Block a user