diff --git a/src/libs/agc.cpp b/src/libs/agc.cpp index 3ebb9f575..053b551ad 100644 --- a/src/libs/agc.cpp +++ b/src/libs/agc.cpp @@ -1661,6 +1661,14 @@ int KYTY_SYSV_ABI GraphicsDriverRegisterResource() { return static_cast(0x8a6c9018u); } +int KYTY_SYSV_ABI GraphicsDriverUnregisterOwnerAndResources(uint32_t owner_handle) { + PRINT_NAME(); + + (void)owner_handle; + + return static_cast(0x8a6c9018u); +} + int KYTY_SYSV_ABI GraphicsDriverUnregisterResource() { PRINT_NAME(); diff --git a/src/libs/agc.h b/src/libs/agc.h index d3a57343e..7b2e2b2e5 100644 --- a/src/libs/agc.h +++ b/src/libs/agc.h @@ -86,6 +86,7 @@ uint32_t KYTY_SYSV_ABI GraphicsDriverQueryResourceRegistrationUserMemoryRequirements(uint64_t* size_in_bytes); int KYTY_SYSV_ABI GraphicsDriverRegisterOwner(); int KYTY_SYSV_ABI GraphicsDriverRegisterResource(); +int KYTY_SYSV_ABI GraphicsDriverUnregisterOwnerAndResources(uint32_t owner_handle); int KYTY_SYSV_ABI GraphicsDriverUnregisterResource(); int KYTY_SYSV_ABI GraphicsDriverRegisterWorkloadStream(uint32_t stream_id, const void* stream); diff --git a/src/libs/libGraphicsDriver.cpp b/src/libs/libGraphicsDriver.cpp index b67cfd52b..465177fff 100644 --- a/src/libs/libGraphicsDriver.cpp +++ b/src/libs/libGraphicsDriver.cpp @@ -190,6 +190,7 @@ LIB_DEFINE(InitGraphicsDriver_1) { LIB_FUNC("uJziRsODk1c", Gen5::GraphicsDriverGetResourceRegistrationMaxNameLength); LIB_FUNC("X-Nm5KLREeg", Gen5::GraphicsDriverRegisterOwner); LIB_FUNC("W5z4eZrjEas", Gen5::GraphicsDriverRegisterResource); + LIB_FUNC("ZLJk9r2+2Aw", Gen5::GraphicsDriverUnregisterOwnerAndResources); LIB_FUNC("pWLG7WOpVcw", Gen5::GraphicsDriverUnregisterResource); LIB_FUNC("3AyTaWcF-H8", Gen5::GraphicsDriverRegisterWorkloadStream);