File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
retail/cardenginei/arm7/source Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,11 @@ remappedKeyX:
115115remappedKeyY:
116116 . byte 11
117117irqTable_offset:
118+ #ifndef TWLSDK
118119 . word irqTable
120+ #else
121+ . word 0
122+ #endif
119123scfgRomBak:
120124 .hword 0
121125igmHotkey:
@@ -215,6 +219,7 @@ ndsCodeStart:
215219 bx r0
216220
217221 .arm
222+ #ifndef TWLSDK
218223irqHandler:
219224 STMFD SP ! , {LR}
220225 MOV R12 , # 0x4000000
@@ -317,14 +322,19 @@ extraIrqRet:
317322
318323extraIrq_ret:
319324 bx lr
325+ #endif
320326
321327card_engine_end:
322328
323329patches:
324330. word card_pull_out_arm9
325331. word card_irq_enable_arm7
326332. word thumb_card_irq_enable_arm7
333+ #ifndef TWLSDK
327334. word j_irqHandler
335+ #else
336+ . word 0
337+ #endif
328338. word vblankHandler
329339. word fifoHandler
330340. word card_pull
@@ -411,12 +421,14 @@ swi27:
411421@ ---------------------------------------------------------------------------------
412422#endif
413423 .arm
424+ #ifndef TWLSDK
414425@ ---------------------------------------------------------------------------------
415426j_irqHandler:
416427@ ---------------------------------------------------------------------------------
417428 ldr pc , =irqHandler
418429.pool
419430@ ---------------------------------------------------------------------------------
431+ #endif
420432
421433@ ---------------------------------------------------------------------------------
422434j_newSwiHalt:
You can’t perform that action at this time.
0 commit comments