Skip to content

Commit

Permalink
Update main.c
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketRobz committed Apr 26, 2024
1 parent e5d85dd commit 0ba733c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions arm7/source/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,6 @@ int main() {
}

if (isDSiMode() || ((REG_SCFG_EXT & BIT(17)) && (REG_SCFG_EXT & BIT(18)))) {

// For getting ConsoleID without reading from 0x4004D00...

u8 *out=(u8*)0x02F00000;
memset(out, 0, 16);

Expand All @@ -158,6 +155,7 @@ int main() {
memcpy(out, (u8*)0x04004D00, 8);
}
if(out[0] == 0 || out[1] == 0) {
// For getting ConsoleID without reading from 0x4004D00...
u8 base[16]={0};
u8 in[16]={0};
u8 iv[16]={0};
Expand Down

0 comments on commit 0ba733c

Please sign in to comment.