mirror of
https://github.com/FEX-Emu/FEX.git
synced 2025-03-05 13:08:23 +00:00
IoctlEmulation: Add missing nouveau ioctl
The NVIF ioctl isn't publicly described in the nouveau headers and it is required for anything to work with Nouveau. Pass the ioctl command through without modification and hope that this ioctl is architecture agnostic.
This commit is contained in:
parent
ee56a2cbde
commit
aeb41e9ae2
@ -360,6 +360,8 @@ namespace FEX::HLE::x32 {
|
||||
#define _CUSTOM_META_OFFSET(name, ioctl_num, offset)
|
||||
// DRM
|
||||
#include "LinuxSyscalls/x32/Ioctl/nouveau_drm.inl"
|
||||
// Let's hope NVIF is arch agnostic.
|
||||
case DRM_COMMAND_BASE + DRM_NOUVEAU_NVIF:
|
||||
{
|
||||
uint64_t Result = ::ioctl(fd, cmd, args);
|
||||
SYSCALL_ERRNO();
|
||||
|
Loading…
x
Reference in New Issue
Block a user