[XAM] XamGetStagingMode Stub
This commit is contained in:
parent
4d44856b2b
commit
d516e8091c
|
@ -48,6 +48,10 @@ DEFINE_int32(avpack, 8,
|
||||||
DECLARE_int32(user_country);
|
DECLARE_int32(user_country);
|
||||||
DECLARE_int32(user_language);
|
DECLARE_int32(user_language);
|
||||||
|
|
||||||
|
DEFINE_bool(staging_mode, 0,
|
||||||
|
"Enables preview mode in dashboards to render debug information.",
|
||||||
|
"Kernel");
|
||||||
|
|
||||||
namespace xe {
|
namespace xe {
|
||||||
namespace kernel {
|
namespace kernel {
|
||||||
namespace xam {
|
namespace xam {
|
||||||
|
@ -58,6 +62,9 @@ typedef enum _MODE { KernelMode, UserMode, MaximumMode } MODE;
|
||||||
dword_result_t XamFeatureEnabled_entry(dword_t unk) { return 0; }
|
dword_result_t XamFeatureEnabled_entry(dword_t unk) { return 0; }
|
||||||
DECLARE_XAM_EXPORT1(XamFeatureEnabled, kNone, kStub);
|
DECLARE_XAM_EXPORT1(XamFeatureEnabled, kNone, kStub);
|
||||||
|
|
||||||
|
dword_result_t XamGetStagingMode_entry() { return cvars::staging_mode; }
|
||||||
|
DECLARE_XAM_EXPORT1(XamGetStagingMode, kNone, kStub);
|
||||||
|
|
||||||
// Empty stub schema binary.
|
// Empty stub schema binary.
|
||||||
uint8_t schema_bin[] = {
|
uint8_t schema_bin[] = {
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
|
Loading…
Reference in New Issue