Skip to content

Commit

Permalink
Remove unneeded code
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketRobz committed Jan 4, 2025
1 parent cc89f02 commit 6358393
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion retail/cardenginei/arm7/source/cardengine.c
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ void reset(const bool downloadedSrl) {

#ifndef TWLSDK
u32 resetParam = ((valueBits & isSdk5) ? RESET_PARAM_SDK5 : RESET_PARAM);
if (((valueBits & isDlp) && *(u32*)(NDS_HEADER_SDK5+0xC) == 0) || (valueBits & slowSoftReset) || (*(u32*)(resetParam+0xC) > 0 && (*(u32*)CARDENGINEI_ARM9_LOCATION == 0 || (valueBits & isSdk5)))) {
if (((valueBits & isDlp) && *(u32*)(NDS_HEADER_SDK5+0xC) == 0) || (valueBits & slowSoftReset) || (*(u32*)(resetParam+0xC) > 0 && (valueBits & isSdk5))) {
REG_MASTER_VOLUME = 0;
int oldIME = enterCriticalSection();
//driveInitialize();
Expand Down

0 comments on commit 6358393

Please sign in to comment.