mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-27 07:52:39 +00:00
hle: implement sceDeviceServiceGetEventState (My First Gran Turismo)
This commit is contained in:
1 parent
9dcff95e80
commit
45f53236e8
1 file changed
+9
@@ -16,6 +16,14 @@ static int KYTY_SYSV_ABI DeviceServiceInitialize() {
|
|||||||
return OK;
|
return OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static int KYTY_SYSV_ABI DeviceServiceGetEventState(int32_t device_class) {
|
||||||
|
PRINT_NAME();
|
||||||
|
|
||||||
|
LOGF("\t device_class = %" PRId32 "\n", device_class);
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
static int KYTY_SYSV_ABI DeviceServiceQueryDeviceInfo(uint32_t device_handle, void* out_info) {
|
static int KYTY_SYSV_ABI DeviceServiceQueryDeviceInfo(uint32_t device_handle, void* out_info) {
|
||||||
PRINT_NAME();
|
PRINT_NAME();
|
||||||
|
|
||||||
@@ -30,6 +38,7 @@ static int KYTY_SYSV_ABI DeviceServiceQueryDeviceInfo(uint32_t device_handle, vo
|
|||||||
|
|
||||||
LIB_DEFINE(InitDeviceService_1) {
|
LIB_DEFINE(InitDeviceService_1) {
|
||||||
LIB_FUNC("84fDxStrG44", DeviceService::DeviceServiceInitialize);
|
LIB_FUNC("84fDxStrG44", DeviceService::DeviceServiceInitialize);
|
||||||
|
LIB_FUNC("9ddRUOV8Q5A", DeviceService::DeviceServiceGetEventState);
|
||||||
LIB_FUNC("UNMEa+5lrUA", DeviceService::DeviceServiceQueryDeviceInfo);
|
LIB_FUNC("UNMEa+5lrUA", DeviceService::DeviceServiceQueryDeviceInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user