Migrating xam UI to elemental-forms.

Fixes #345.
This commit is contained in:
Ben Vanik
2015-07-19 14:43:27 -07:00
parent 5c7f42e9d1
commit baa86fcd1b
8 changed files with 195 additions and 80 deletions

View File

@@ -171,6 +171,10 @@ int XboxkrnlModule::LaunchModule(const char* path) {
// Create and register the module. We keep it local to this function and
// dispose it on exit.
auto module = kernel_state_->LoadUserModule(path);
if (!module) {
XELOGE("Failed to load user module %s.", path);
return 2;
}
// Set as the main module, while running.
kernel_state_->SetExecutableModule(module);