Skip to content

Commit

Permalink
Merge pull request #6 from jakcron/master
Browse files Browse the repository at this point in the history
[makerom] Fixed CpuSpeed typo.
  • Loading branch information
profi200 committed Oct 12, 2015
2 parents 80d3d99 + 2e2f1b0 commit d209909
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion makerom/exheader.c
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ int SetARM11SystemLocalInfoFlags(exhdr_ARM11SystemLocalCapabilities *arm11, rsf_
arm11->flag[0] |= rsf->AccessControlInfo.EnableL2Cache;

if (rsf->AccessControlInfo.CpuSpeed) {
if(strcasecmp(rsf->AccessControlInfo.CpuSpeed, "256mhz") == 0)
if(strcasecmp(rsf->AccessControlInfo.CpuSpeed, "268mhz") == 0)
arm11->flag[0] |= cpuspeed_268MHz << 1;
else if(strcasecmp(rsf->AccessControlInfo.CpuSpeed, "804mhz") == 0)
arm11->flag[0] |= cpuspeed_804MHz << 1;
Expand Down

0 comments on commit d209909

Please sign in to comment.