mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-15 07:57:56 -05:00
General: Add Asserts
This commit is contained in:
@ -42,6 +42,10 @@ struct EmuThreadHandle {
|
||||
constexpr u32 invalid_handle = 0xFFFFFFFF;
|
||||
return {invalid_handle, invalid_handle};
|
||||
}
|
||||
|
||||
bool IsInvalid() const {
|
||||
return (*this) == InvalidHandle();
|
||||
}
|
||||
};
|
||||
|
||||
} // namespace Core
|
||||
|
Reference in New Issue
Block a user