diff options
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/hle/service/nvdrv/devices/nvhost_ctrl.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/hle/service/nvdrv/devices/nvhost_ctrl.cpp b/src/core/hle/service/nvdrv/devices/nvhost_ctrl.cpp index 5b1253f6b..96310ed83 100644 --- a/src/core/hle/service/nvdrv/devices/nvhost_ctrl.cpp +++ b/src/core/hle/service/nvdrv/devices/nvhost_ctrl.cpp | |||
| @@ -60,6 +60,11 @@ u32 nvhost_ctrl::IocCtrlEventWait(const std::vector<u8>& input, std::vector<u8>& | |||
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | auto& gpu = Core::System::GetInstance().GPU(); | 62 | auto& gpu = Core::System::GetInstance().GPU(); |
| 63 | // This is mostly to take into account unimplemented features. As synced | ||
| 64 | // gpu is always synced. | ||
| 65 | if (!gpu.IsAsync()) { | ||
| 66 | return NvResult::Success; | ||
| 67 | } | ||
| 63 | gpu.Guard(true); | 68 | gpu.Guard(true); |
| 64 | u32 current_syncpoint_value = gpu.GetSyncpointValue(params.syncpt_id); | 69 | u32 current_syncpoint_value = gpu.GetSyncpointValue(params.syncpt_id); |
| 65 | if (current_syncpoint_value >= params.threshold) { | 70 | if (current_syncpoint_value >= params.threshold) { |