exo: add smcAmsGetEmummcConfig

This commit is contained in:
Michael Scire
2019-06-04 12:31:23 -07:00
parent 1021b4a455
commit 4f8ab5c599
15 changed files with 156 additions and 39 deletions

View File

@@ -84,10 +84,10 @@ unsigned int exosphere_should_disable_usermode_exception_handlers(void) {
return EXOSPHERE_CHECK_FLAG(EXOSPHERE_FLAG_DISABLE_USERMODE_EXCEPTION_HANDLERS);
}
uint64_t exosphere_get_emunand_config(void) {
const exo_emummc_config_t *exosphere_get_emummc_config(void) {
if (!g_has_loaded_config) {
generic_panic();
}
return g_exosphere_cfg.emunand_config;
return &g_exosphere_cfg.emummc_cfg;
}