Skip to content

Commit e70565e

Browse files
committed
bug fix
1 parent d4eaf18 commit e70565e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cardengine/arm9/source/cardengine.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ int cardRead(u32* cacheStruct, u8* dst0, u32 src0, u32 len0) {
498498
// SDK 5
499499
cacheAddress = dev_CACHE_ADRESS_START_SDK5;
500500
}
501-
cacheSlots = (isSdk5(moduleParams) ? dev_CACHE_SLOTS_SDK5 : dev_CACHE_SLOTS);
501+
cacheSlots = ((dsiMode || isSdk5(moduleParams)) ? dev_CACHE_SLOTS_SDK5 : dev_CACHE_SLOTS);
502502
}
503503

504504
//ndsHeader->romSize += 0x1000;

0 commit comments

Comments
 (0)