mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-27 15:35:29 +03:00
Stub SetGraphicsFirmwareMemoryMarginEnabled
This is used by most retail games released after 3.0.
This commit is contained in:
parent
ef9760570b
commit
92e3f84242
@ -60,7 +60,8 @@ namespace skyline::service::nvdrv {
|
||||
{0x2, SFUNC(INvDrvServices::Close)},
|
||||
{0x3, SFUNC(INvDrvServices::Initialize)},
|
||||
{0x4, SFUNC(INvDrvServices::QueryEvent)},
|
||||
{0x8, SFUNC(INvDrvServices::SetAruidByPID)}
|
||||
{0x8, SFUNC(INvDrvServices::SetAruidByPID)},
|
||||
{0xd, SFUNC(INvDrvServices::SetGraphicsFirmwareMemoryMarginEnabled)}
|
||||
}) {}
|
||||
|
||||
void INvDrvServices::Open(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) {
|
||||
@ -134,4 +135,6 @@ namespace skyline::service::nvdrv {
|
||||
void INvDrvServices::SetAruidByPID(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) {
|
||||
response.Push<u32>(constant::status::Success);
|
||||
}
|
||||
|
||||
void INvDrvServices::SetGraphicsFirmwareMemoryMarginEnabled(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) {}
|
||||
}
|
||||
|
@ -90,5 +90,10 @@ namespace skyline::service::nvdrv {
|
||||
* @brief This sets the AppletResourceUserId which matches the PID (https://switchbrew.org/wiki/NV_services#SetAruidByPID)
|
||||
*/
|
||||
void SetAruidByPID(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
|
||||
|
||||
/**
|
||||
* @brief This enables the graphics firmware memory margin (https://switchbrew.org/wiki/NV_services#SetGraphicsFirmwareMemoryMarginEnabled)
|
||||
*/
|
||||
void SetGraphicsFirmwareMemoryMarginEnabled(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user