Call XObject::WaitCallback on successful waits

This commit is contained in:
Dr. Chat
2015-12-16 17:07:43 -06:00
committed by Ben Vanik
parent d0f547020a
commit 5aff9d12ee
2 changed files with 11 additions and 0 deletions

View File

@@ -193,6 +193,9 @@ class XObject {
bool SaveObject(ByteStream* stream);
bool RestoreObject(ByteStream* stream);
// Called on successful wait.
virtual void WaitCallback() {}
// Creates the kernel object for guest code to use. Typically not needed.
uint8_t* CreateNative(uint32_t size);
void SetNativePointer(uint32_t native_ptr, bool uninitialized = false);