Switching over kernel objects to the platform-agnostic APIs.

Possibly some regressions here.
This commit is contained in:
Ben Vanik
2015-07-14 22:44:45 -07:00
parent bd058feb39
commit 345fe60da0
18 changed files with 491 additions and 356 deletions

View File

@@ -12,6 +12,7 @@
#include <atomic>
#include "xenia/base/threading.h"
#include "xenia/xbox.h"
namespace xe {
@@ -148,7 +149,7 @@ class XObject {
GetNativeObject(kernel_state, native_ptr, as_type).release()));
}
virtual void* GetWaitHandle() { return 0; }
virtual xe::threading::WaitHandle* GetWaitHandle() { return nullptr; }
protected:
// Creates the kernel object for guest code to use. Typically not needed.