diff --git a/makerom/exheader.c b/makerom/exheader.c index e159ebe..3a9f5f6 100644 --- a/makerom/exheader.c +++ b/makerom/exheader.c @@ -1014,6 +1014,8 @@ int SetARM11KernelDescOtherCapabilities(ARM11KernelCapabilityDescriptor *desc, r otherCapabilities |= othcap_RUNNABLE_ON_SLEEP; if(rsf->AccessControlInfo.SpecialMemoryArrange) otherCapabilities |= othcap_SPECIAL_MEMORY_ARRANGE; + if (rsf->AccessControlInfo.CanAccessCore2) + otherCapabilities |= othcap_CAN_ACCESS_CORE2; if(rsf->AccessControlInfo.MemoryType){ if(strcasecmp(rsf->AccessControlInfo.MemoryType,"application") == 0) diff --git a/makerom/exheader.h b/makerom/exheader.h index 4bac931..d9cfd61 100644 --- a/makerom/exheader.h +++ b/makerom/exheader.h @@ -45,6 +45,7 @@ typedef enum othcap_CAN_SHARE_DEVICE_MEMORY = (1 << 6), othcap_RUNNABLE_ON_SLEEP = (1 << 7), othcap_SPECIAL_MEMORY_ARRANGE = (1 << 12), + othcap_CAN_ACCESS_CORE2 = (1 << 13), } other_capabilities_flags; typedef enum diff --git a/makerom/rsf_settings.c b/makerom/rsf_settings.c index 8240b45..ede105d 100644 --- a/makerom/rsf_settings.c +++ b/makerom/rsf_settings.c @@ -102,6 +102,7 @@ void GET_AccessControlInfo(ctr_yaml_context *ctx, rsf_settings *rsf) else if(cmpYamlValue("UseOtherVariationSaveData",ctx)) SetBoolYAMLValue(&rsf->AccessControlInfo.UseOtherVariationSaveData,"UseOtherVariationSaveData",ctx); else if(cmpYamlValue("RunnableOnSleep",ctx)) SetBoolYAMLValue(&rsf->AccessControlInfo.RunnableOnSleep,"RunnableOnSleep",ctx); else if(cmpYamlValue("SpecialMemoryArrange",ctx)) SetBoolYAMLValue(&rsf->AccessControlInfo.SpecialMemoryArrange,"SpecialMemoryArrange",ctx); + else if(cmpYamlValue("CanAccessCore2", ctx)) SetBoolYAMLValue(&rsf->AccessControlInfo.CanAccessCore2, "CanAccessCore2", ctx); else if(cmpYamlValue("UseExtSaveData", ctx)) SetBoolYAMLValue(&rsf->AccessControlInfo.UseExtSaveData, "UseExtSaveData", ctx); else if(cmpYamlValue("EnableL2Cache", ctx)) SetBoolYAMLValue(&rsf->AccessControlInfo.EnableL2Cache, "EnableL2Cache", ctx); diff --git a/makerom/user_settings.h b/makerom/user_settings.h index 299f5ef..a2cacb8 100644 --- a/makerom/user_settings.h +++ b/makerom/user_settings.h @@ -86,6 +86,7 @@ typedef struct bool UseOtherVariationSaveData; bool RunnableOnSleep; bool SpecialMemoryArrange; + bool CanAccessCore2; bool UseExtSaveData; bool EnableL2Cache;