Warn when importing an unimplemented kernel function

This commit is contained in:
Dr. Chat 2015-07-03 19:44:11 -05:00
parent 8cb8098a6b
commit 03ffb20a43
1 changed files with 2 additions and 0 deletions

View File

@ -417,6 +417,8 @@ bool XexModule::SetupLibraryImports(const char* name,
(FunctionInfo::ExternHandler)kernel_export->function_data.shim;
}
} else {
XELOGW("WARNING: Imported kernel function %s is unimplemented!",
import_name.GetString());
handler = UndefinedImport;
}