Browse Source

Nvdrv: Assert when receiving an unimplemented ioctl in the nv* handlers.

nce_cpp
Subv 8 years ago
parent
commit
3c2b29e5c2
  1. 2
      src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp
  2. 2
      src/core/hle/service/nvdrv/devices/nvhost_ctrl.cpp
  3. 2
      src/core/hle/service/nvdrv/devices/nvhost_ctrl_gpu.cpp
  4. 2
      src/core/hle/service/nvdrv/devices/nvhost_gpu.cpp
  5. 2
      src/core/hle/service/nvdrv/devices/nvmap.cpp

2
src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp

@ -13,7 +13,7 @@
namespace Service::Nvidia::Devices {
u32 nvdisp_disp0::ioctl(Ioctl command, const std::vector<u8>& input, std::vector<u8>& output) {
UNIMPLEMENTED();
UNIMPLEMENTED_MSG("Unimplemented ioctl");
return 0;
}

2
src/core/hle/service/nvdrv/devices/nvhost_ctrl.cpp

@ -18,7 +18,7 @@ u32 nvhost_ctrl::ioctl(Ioctl command, const std::vector<u8>& input, std::vector<
case IoctlCommand::IocCtrlEventWaitCommand:
return IocCtrlEventWait(input, output);
}
UNIMPLEMENTED();
UNIMPLEMENTED_MSG("Unimplemented ioctl");
return 0;
}

2
src/core/hle/service/nvdrv/devices/nvhost_ctrl_gpu.cpp

@ -25,7 +25,7 @@ u32 nvhost_ctrl_gpu::ioctl(Ioctl command, const std::vector<u8>& input, std::vec
case IoctlCommand::IocZcullGetInfo:
return ZCullGetInfo(input, output);
}
UNIMPLEMENTED();
UNIMPLEMENTED_MSG("Unimplemented ioctl");
return 0;
}

2
src/core/hle/service/nvdrv/devices/nvhost_gpu.cpp

@ -40,7 +40,7 @@ u32 nvhost_gpu::ioctl(Ioctl command, const std::vector<u8>& input, std::vector<u
}
}
UNIMPLEMENTED();
UNIMPLEMENTED_MSG("Unimplemented ioctl");
return 0;
};

2
src/core/hle/service/nvdrv/devices/nvmap.cpp

@ -32,7 +32,7 @@ u32 nvmap::ioctl(Ioctl command, const std::vector<u8>& input, std::vector<u8>& o
return IocParam(input, output);
}
UNIMPLEMENTED();
UNIMPLEMENTED_MSG("Unimplemented ioctl");
return 0;
}

Loading…
Cancel
Save