mirror of
https://git.citron-emu.org/citron/emulator
synced 2025-12-20 11:03:56 +00:00
Kernel: Don't re-assign object's handle when duplicating one
This commit is contained in:
@@ -52,7 +52,7 @@ class HandleTable;
|
||||
|
||||
class Object : NonCopyable {
|
||||
friend class HandleTable;
|
||||
u32 handle;
|
||||
u32 handle = INVALID_HANDLE;
|
||||
public:
|
||||
virtual ~Object() {}
|
||||
Handle GetHandle() const { return handle; }
|
||||
|
||||
Reference in New Issue
Block a user