diff options
author | Kyle Kienapfel <Docteh@users.noreply.github.com> | 2022-11-11 13:12:37 +0100 |
---|---|---|
committer | Kyle Kienapfel <Docteh@users.noreply.github.com> | 2022-11-14 01:30:55 +0100 |
commit | 6fa3faec658893c9fae19116232d24dac08babc7 (patch) | |
tree | 4e04753b659357d6595fa22766ae305586fd90d4 /src/core/hle/service/nvdrv/devices | |
parent | Merge pull request #9223 from goldenx86/threadcount (diff) | |
download | yuzu-6fa3faec658893c9fae19116232d24dac08babc7.tar yuzu-6fa3faec658893c9fae19116232d24dac08babc7.tar.gz yuzu-6fa3faec658893c9fae19116232d24dac08babc7.tar.bz2 yuzu-6fa3faec658893c9fae19116232d24dac08babc7.tar.lz yuzu-6fa3faec658893c9fae19116232d24dac08babc7.tar.xz yuzu-6fa3faec658893c9fae19116232d24dac08babc7.tar.zst yuzu-6fa3faec658893c9fae19116232d24dac08babc7.zip |
Diffstat (limited to 'src/core/hle/service/nvdrv/devices')
-rw-r--r-- | src/core/hle/service/nvdrv/devices/nvhost_ctrl_gpu.cpp | 5 | ||||
-rw-r--r-- | src/core/hle/service/nvdrv/devices/nvhost_gpu.cpp | 5 |
2 files changed, 4 insertions, 6 deletions
diff --git a/src/core/hle/service/nvdrv/devices/nvhost_ctrl_gpu.cpp b/src/core/hle/service/nvdrv/devices/nvhost_ctrl_gpu.cpp index ced57dfe6..b97813fbc 100644 --- a/src/core/hle/service/nvdrv/devices/nvhost_ctrl_gpu.cpp +++ b/src/core/hle/service/nvdrv/devices/nvhost_ctrl_gpu.cpp @@ -300,11 +300,10 @@ Kernel::KEvent* nvhost_ctrl_gpu::QueryEvent(u32 event_id) { return error_notifier_event; case 2: return unknown_event; - default: { + default: LOG_CRITICAL(Service_NVDRV, "Unknown Ctrl GPU Event {}", event_id); + return nullptr; } - } - return nullptr; } } // namespace Service::Nvidia::Devices diff --git a/src/core/hle/service/nvdrv/devices/nvhost_gpu.cpp b/src/core/hle/service/nvdrv/devices/nvhost_gpu.cpp index 45a759fa8..e123564c6 100644 --- a/src/core/hle/service/nvdrv/devices/nvhost_gpu.cpp +++ b/src/core/hle/service/nvdrv/devices/nvhost_gpu.cpp @@ -364,11 +364,10 @@ Kernel::KEvent* nvhost_gpu::QueryEvent(u32 event_id) { return sm_exception_breakpoint_pause_report_event; case 3: return error_notifier_event; - default: { + default: LOG_CRITICAL(Service_NVDRV, "Unknown Ctrl GPU Event {}", event_id); + return nullptr; } - } - return nullptr; } } // namespace Service::Nvidia::Devices |