mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-15 18:57:57 -05:00
Session: Change to a WaitObject.
This commit is contained in:
@ -41,7 +41,7 @@ inline static u32* GetCommandBuffer(const int offset=0) {
|
||||
* CTR-OS so that IPC calls can be optionally handled by the real implementations of processes, as
|
||||
* opposed to HLE simulations.
|
||||
*/
|
||||
class Session : public Object {
|
||||
class Session : public WaitObject {
|
||||
public:
|
||||
std::string GetTypeName() const override { return "Session"; }
|
||||
|
||||
@ -53,6 +53,12 @@ public:
|
||||
* aren't supported yet.
|
||||
*/
|
||||
virtual ResultVal<bool> SyncRequest() = 0;
|
||||
|
||||
ResultVal<bool> Wait() override {
|
||||
// TODO(bunnei): This function exists to satisfy a hardware test with a Session object
|
||||
// passed into WaitSynchronization. Not sure if it's possible for this to ever be false?
|
||||
return MakeResult<bool>(true);
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user