mirror of
https://github.com/DarkStore-3DS/Project_CTR.git
synced 2026-07-03 00:39:14 +00:00
makerom: added n3ds core2 access flag
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -86,6 +86,7 @@ typedef struct
|
||||
bool UseOtherVariationSaveData;
|
||||
bool RunnableOnSleep;
|
||||
bool SpecialMemoryArrange;
|
||||
bool CanAccessCore2;
|
||||
bool UseExtSaveData;
|
||||
bool EnableL2Cache;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user