mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-05 07:45:08 +01:00
Fixup broken SetTimeslice nvdrv ioctl that was missed in conversion
This commit is contained in:
parent
bf2e20565f
commit
d4b13c34ee
@ -119,7 +119,8 @@ namespace skyline::service::nvdrv::device {
|
|||||||
return NvStatus::Success;
|
return NvStatus::Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
NvStatus NvHostChannel::SetTimeslice(IoctlType type, std::span<u8> buffer, std::span<u8> inlineBuffer) {
|
NvStatus NvHostChannel::SetTimeslice(IoctlType type, span<u8> buffer, span<u8> inlineBuffer) {
|
||||||
|
timeslice = buffer.as<u32>();
|
||||||
return NvStatus::Success;
|
return NvStatus::Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -80,7 +80,7 @@ namespace skyline::service::nvdrv::device {
|
|||||||
* @brief Sets the timeslice of the channel
|
* @brief Sets the timeslice of the channel
|
||||||
* @url https://switchbrew.org/wiki/NV_services#NVGPU_IOCTL_CHANNEL_SET_TIMESLICE)
|
* @url https://switchbrew.org/wiki/NV_services#NVGPU_IOCTL_CHANNEL_SET_TIMESLICE)
|
||||||
*/
|
*/
|
||||||
NvStatus SetTimeslice(IoctlType type, std::span<u8> buffer, std::span<u8> inlineBuffer);
|
NvStatus SetTimeslice(IoctlType type, span<u8> buffer, span<u8> inlineBuffer);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Sets the user specific data
|
* @brief Sets the user specific data
|
||||||
@ -100,6 +100,7 @@ namespace skyline::service::nvdrv::device {
|
|||||||
NVFUNC(0x480D, NvHostChannel, SetPriority),
|
NVFUNC(0x480D, NvHostChannel, SetPriority),
|
||||||
NVFUNC(0x481A, NvHostChannel, AllocGpfifoEx2),
|
NVFUNC(0x481A, NvHostChannel, AllocGpfifoEx2),
|
||||||
NVFUNC(0x481B, NvHostChannel, SubmitGpfifo), // Our SubmitGpfifo implementation also handles SubmitGpfifoEx
|
NVFUNC(0x481B, NvHostChannel, SubmitGpfifo), // Our SubmitGpfifo implementation also handles SubmitGpfifoEx
|
||||||
|
NVFUNC(0x481D, NvHostChannel, SetTimeslice),
|
||||||
NVFUNC(0x4714, NvHostChannel, SetUserData)
|
NVFUNC(0x4714, NvHostChannel, SetUserData)
|
||||||
)
|
)
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user