From 94ad97def028f037f31282f825dd508332d93b26 Mon Sep 17 00:00:00 2001 From: bunnei Date: Thu, 11 Jan 2018 22:31:12 -0500 Subject: nv: Fix more broken asserts. --- src/core/hle/service/nvdrv/devices/nvhost_as_gpu.cpp | 2 +- src/core/hle/service/nvdrv/devices/nvmap.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/core') 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 50fee8f46..b36a5aadc 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& input, std::vector& 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 fdf2f7be5..4d6b9cfce 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& input, std::vector& out return IocParam(input, output); } - ASSERT(false, "Unimplemented"); + UNIMPLEMENTED(); } u32 nvmap::IocCreate(const std::vector& input, std::vector& output) { @@ -141,7 +141,7 @@ u32 nvmap::IocParam(const std::vector& input, std::vector& output) { params.value = object->kind; break; default: - ASSERT(false, "Unimplemented"); + UNIMPLEMENTED(); } std::memcpy(output.data(), ¶ms, sizeof(params)); -- cgit v1.2.3