mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-24 21:06:55 +02:00
hle: implement sceDeviceServiceGetEventState (My First Gran Turismo)
This commit is contained in:
@@ -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