mirror of
https://github.com/xenia-project/xenia.git
synced 2025-12-06 07:12:03 +01:00
[Xam/Xam_NUI] - Implement XamShowNuiHardwareRequiredUI
- Implement XamShowNuiHardwareRequiredUI - Add notes to XamShowNuiTroubleshooterUI
This commit is contained in:
parent
180be3664e
commit
fbacd3c12d
|
|
@ -41,10 +41,18 @@ void XamNuiGetDeviceStatus_entry(pointer_t<X_NUI_DEVICE_STATUS> status_ptr) {
|
||||||
}
|
}
|
||||||
DECLARE_XAM_EXPORT1(XamNuiGetDeviceStatus, kNone, kStub);
|
DECLARE_XAM_EXPORT1(XamNuiGetDeviceStatus, kNone, kStub);
|
||||||
|
|
||||||
|
// UI
|
||||||
dword_result_t XamShowNuiTroubleshooterUI_entry(unknown_t unk1, unknown_t unk2,
|
dword_result_t XamShowNuiTroubleshooterUI_entry(unknown_t unk1, unknown_t unk2,
|
||||||
unknown_t unk3) {
|
dword_t flag) {
|
||||||
// unk1 is 0xFF - possibly user index?
|
/* Notes:
|
||||||
// unk2, unk3 appear to always be zero.
|
- unk1 is 0xFF - possibly user index?
|
||||||
|
- unk2 appear to always be zero.
|
||||||
|
- First calls XamPackageManagerGetExperienceMode and checks if the return
|
||||||
|
is less than zero
|
||||||
|
- If less than zero then returns error message below
|
||||||
|
- else it checks if flag = 0x800000 if it does then call
|
||||||
|
XamNuiGetDeviceStatus. if not return error
|
||||||
|
*/
|
||||||
|
|
||||||
if (cvars::headless) {
|
if (cvars::headless) {
|
||||||
return 0;
|
return 0;
|
||||||
|
|
@ -71,6 +79,15 @@ dword_result_t XamShowNuiTroubleshooterUI_entry(unknown_t unk1, unknown_t unk2,
|
||||||
}
|
}
|
||||||
DECLARE_XAM_EXPORT1(XamShowNuiTroubleshooterUI, kNone, kStub);
|
DECLARE_XAM_EXPORT1(XamShowNuiTroubleshooterUI, kNone, kStub);
|
||||||
|
|
||||||
|
dword_result_t XamShowNuiHardwareRequiredUI_entry(unknown_t unk1) {
|
||||||
|
if (unk1 != 0) {
|
||||||
|
return X_ERROR_INVALID_PARAMETER;
|
||||||
|
}
|
||||||
|
|
||||||
|
return XamShowNuiTroubleshooterUI_entry(0xff, 0, 0x400000);
|
||||||
|
}
|
||||||
|
DECLARE_XAM_EXPORT1(XamShowNuiHardwareRequiredUI, kNone, kImplemented);
|
||||||
|
|
||||||
} // namespace xam
|
} // namespace xam
|
||||||
} // namespace kernel
|
} // namespace kernel
|
||||||
} // namespace xe
|
} // namespace xe
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue