General: Add Asserts
This commit is contained in:
parent
04e0f8776c
commit
2a8837ff51
4 changed files with 24 additions and 0 deletions
|
@ -42,6 +42,10 @@ struct EmuThreadHandle {
|
|||
constexpr u32 invalid_handle = 0xFFFFFFFF;
|
||||
return {invalid_handle, invalid_handle};
|
||||
}
|
||||
|
||||
bool IsInvalid() const {
|
||||
return (*this) == InvalidHandle();
|
||||
}
|
||||
};
|
||||
|
||||
} // namespace Core
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue