mirror of
https://github.com/LNH-team/pico-loader.git
synced 2026-06-02 09:16:49 +02:00
Optimize space usage of supercard platform (#74)
This commit is contained in:
@@ -125,11 +125,6 @@ sclite_writeSectorSdhcLabel:
|
||||
movs r0, #3
|
||||
CALL sccmn_changeMode writeInterwork
|
||||
|
||||
@ SDResetCard
|
||||
@ write 0
|
||||
ldr r2,=sd_resetaddr
|
||||
strh r2, [r2]
|
||||
|
||||
@ WRITE_MULTIPLE_BLOCK
|
||||
SD_COMMAND_ARGUMENT #25
|
||||
@ 2nd parameter is in r1 from above
|
||||
@@ -213,11 +208,6 @@ sclite_readSectorSdhcLabel:
|
||||
movs r0, #3
|
||||
CALL sccmn_changeMode readInterwork
|
||||
|
||||
@ SDResetCard
|
||||
@ write 0
|
||||
ldr r2,= sd_resetaddr
|
||||
strh r2, [r2]
|
||||
|
||||
@ READ_MULTIPLE_BLOCK
|
||||
SD_COMMAND_ARGUMENT #18
|
||||
@ 2nd parameter is in r1 from above
|
||||
|
||||
Reference in New Issue
Block a user