stubs for 9199 (eventually)

This commit is contained in:
Cancerous 2019-12-19 17:24:59 -05:00 committed by illusion
parent 523fbcf130
commit d6136ad8bc
4 changed files with 34 additions and 1 deletions

View File

@ -709,7 +709,8 @@ void UserModule::Dump() {
}
sb.Append("Sections:\n");
for (uint32_t i = 0, page = 0; i < security_info->page_descriptor_count->value;
for (uint32_t i = 0, page = 0;
i < (uint32_t)security_info->page_descriptor_count;
i++) {
// Manually byteswap the bitfield data.
xex2_page_descriptor page_descriptor;

View File

@ -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

View File

@ -29,6 +29,7 @@ XamModule::XamModule(Emulator* emulator, KernelState* kernel_state)
RegisterInfoExports(export_resolver_, kernel_state_);
RegisterInputExports(export_resolver_, kernel_state_);
RegisterLocaleExports(export_resolver_, kernel_state_);
RegisterMiscExports(export_resolver_, kernel_state_);
RegisterMsgExports(export_resolver_, kernel_state_);
RegisterNetExports(export_resolver_, kernel_state_);
RegisterNotifyExports(export_resolver_, kernel_state_);

View File

@ -29,6 +29,7 @@ DECLARE_REGISTER_EXPORTS(Content);
DECLARE_REGISTER_EXPORTS(Info);
DECLARE_REGISTER_EXPORTS(Input);
DECLARE_REGISTER_EXPORTS(Locale);
DECLARE_REGISTER_EXPORTS(Misc);
DECLARE_REGISTER_EXPORTS(Msg);
DECLARE_REGISTER_EXPORTS(Net);
DECLARE_REGISTER_EXPORTS(Notify);