Change ifdef and use itcm on NDS

This commit is contained in:
Lorenzooone 2024-03-13 18:40:21 +01:00
parent 6730a50457
commit b7c3bb550f

View File

@ -17,8 +17,10 @@
.global swi_LZ77UnCompWrite8bit
.type swi_LZ77UnCompWrite16bit,function
.type swi_LZ77UnCompWrite8bit,function
#ifdef __GBA__
.section .iwram, "ax", %progbits
#ifdef __NDS__
.section .itcm, "ax", %progbits
#else
.section .iwram, "ax", %progbits
#endif
swi_LZ77UnCompWrite16bit: