[Kernel] stubs for 9199 (eventually)
This commit is contained in:
parent
4c6b6a11e9
commit
c386146752
|
@ -0,0 +1,30 @@
|
||||||
|
|
||||||
|
#include "xenia/base/logging.h"
|
||||||
|
#include "xenia/kernel/kernel_state.h"
|
||||||
|
#include "xenia/kernel/util/shim_utils.h"
|
||||||
|
#include "xenia/kernel/xam/xam_private.h"
|
||||||
|
#include "xenia/xbox.h"
|
||||||
|
|
||||||
|
namespace xe {
|
||||||
|
namespace kernel {
|
||||||
|
namespace xam {
|
||||||
|
|
||||||
|
dword_result_t XamDoesOmniNeedConfiguration(dword_t unk) {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
DECLARE_XAM_EXPORT1(XamDoesOmniNeedConfiguration, kMisc, kStub);
|
||||||
|
|
||||||
|
dword_result_t XamFirstRunExperienceShouldRun(dword_t unk) {
|
||||||
|
if( 0 ) { // cvars::xconfig_initial_setup) {
|
||||||
|
return 1;
|
||||||
|
} else {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
DECLARE_XAM_EXPORT1(XamFirstRunExperienceShouldRun, kMisc, kStub);
|
||||||
|
|
||||||
|
void RegisterMiscExports(xe::cpu::ExportResolver* export_resolver,
|
||||||
|
KernelState* kernel_state) {}
|
||||||
|
} // namespace xam
|
||||||
|
} // namespace kernel
|
||||||
|
} // namespace xe
|
|
@ -29,6 +29,7 @@ XamModule::XamModule(Emulator* emulator, KernelState* kernel_state)
|
||||||
RegisterInfoExports(export_resolver_, kernel_state_);
|
RegisterInfoExports(export_resolver_, kernel_state_);
|
||||||
RegisterInputExports(export_resolver_, kernel_state_);
|
RegisterInputExports(export_resolver_, kernel_state_);
|
||||||
RegisterLocaleExports(export_resolver_, kernel_state_);
|
RegisterLocaleExports(export_resolver_, kernel_state_);
|
||||||
|
RegisterMiscExports(export_resolver_, kernel_state_);
|
||||||
RegisterMsgExports(export_resolver_, kernel_state_);
|
RegisterMsgExports(export_resolver_, kernel_state_);
|
||||||
RegisterNetExports(export_resolver_, kernel_state_);
|
RegisterNetExports(export_resolver_, kernel_state_);
|
||||||
RegisterNotifyExports(export_resolver_, kernel_state_);
|
RegisterNotifyExports(export_resolver_, kernel_state_);
|
||||||
|
|
|
@ -31,6 +31,8 @@ void RegisterInputExports(xe::cpu::ExportResolver* export_resolver,
|
||||||
KernelState* kernel_state);
|
KernelState* kernel_state);
|
||||||
void RegisterLocaleExports(xe::cpu::ExportResolver* export_resolver,
|
void RegisterLocaleExports(xe::cpu::ExportResolver* export_resolver,
|
||||||
KernelState* kernel_state);
|
KernelState* kernel_state);
|
||||||
|
void RegisterMiscExports(xe::cpu::ExportResolver* export_resolver,
|
||||||
|
KernelState* kernel_state);
|
||||||
void RegisterMsgExports(xe::cpu::ExportResolver* export_resolver,
|
void RegisterMsgExports(xe::cpu::ExportResolver* export_resolver,
|
||||||
KernelState* kernel_state);
|
KernelState* kernel_state);
|
||||||
void RegisterNetExports(xe::cpu::ExportResolver* export_resolver,
|
void RegisterNetExports(xe::cpu::ExportResolver* export_resolver,
|
||||||
|
|
Loading…
Reference in New Issue