mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 23:55:45 +00:00
General: Add Asserts
This commit is contained in:
parent
78eeea9f17
commit
cd3d1798d8
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