yuzu-emu
/
yuzu-android
Archived
1
0
Fork 0

nv: Fix more broken asserts.

This commit is contained in:
bunnei 2018-01-11 22:31:12 -05:00
parent ac2feaf5fb
commit 94ad97def0
2 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@ namespace NVDRV {
namespace Devices { namespace Devices {
u32 nvhost_as_gpu::ioctl(u32 command, const std::vector<u8>& input, std::vector<u8>& output) { u32 nvhost_as_gpu::ioctl(u32 command, const std::vector<u8>& input, std::vector<u8>& output) {
ASSERT(false, "Unimplemented"); UNIMPLEMENTED();
return 0; return 0;
} }

View File

@ -33,7 +33,7 @@ u32 nvmap::ioctl(u32 command, const std::vector<u8>& input, std::vector<u8>& out
return IocParam(input, output); return IocParam(input, output);
} }
ASSERT(false, "Unimplemented"); UNIMPLEMENTED();
} }
u32 nvmap::IocCreate(const std::vector<u8>& input, std::vector<u8>& output) { 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; params.value = object->kind;
break; break;
default: default:
ASSERT(false, "Unimplemented"); UNIMPLEMENTED();
} }
std::memcpy(output.data(), &params, sizeof(params)); std::memcpy(output.data(), &params, sizeof(params));