Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

nv: Fix more broken asserts.

bunnei5a7a2eba0dfb
diff --git a/src/core/hle/service/nvdrv/devices/nvhost_as_gpu.cpp b/src/core/hle/service/nvdrv/devices/nvhost_as_gpu.cpp
index 50fee8f46e..b36a5aadc6 100644
--- a/src/core/hle/service/nvdrv/devices/nvhost_as_gpu.cpp
+++ b/src/core/hle/service/nvdrv/devices/nvhost_as_gpu.cpp
@@ -11,7 +11,7 @@ namespace NVDRV {
namespace Devices {
u32 nvhost_as_gpu::ioctl(u32 command, const std::vector<u8>& input, std::vector<u8>& output) {
- ASSERT(false, "Unimplemented");
+ UNIMPLEMENTED();
return 0;
}
diff --git a/src/core/hle/service/nvdrv/devices/nvmap.cpp b/src/core/hle/service/nvdrv/devices/nvmap.cpp
index fdf2f7be5e..4d6b9cfce8 100644
--- a/src/core/hle/service/nvdrv/devices/nvmap.cpp
+++ b/src/core/hle/service/nvdrv/devices/nvmap.cpp
@@ -33,7 +33,7 @@ u32 nvmap::ioctl(u32 command, const std::vector<u8>& input, std::vector<u8>& out
return IocParam(input, output);
}
- ASSERT(false, "Unimplemented");
+ UNIMPLEMENTED();
}
u32 nvmap::IocCreate(const std::vector<u8>& input, std::vector<u8>& output) {
@@ -141,7 +141,7 @@ u32 nvmap::IocParam(const std::vector<u8>& input, std::vector<u8>& output) {
params.value = object->kind;
break;
default:
- ASSERT(false, "Unimplemented");
+ UNIMPLEMENTED();
}
std::memcpy(output.data(), &params, sizeof(params));