You've already forked Microtransactions64
mirror of
https://github.com/Print-and-Panic/Microtransactions64.git
synced 2026-01-21 10:17:19 -08:00
* Fixed eeprom saving on VC * Specify SM for EEP4K, for any other savetype use ED * Moved IS_VC() check to an earlier point, switch IS_VC()->gIsVC * Moved binary VC files to bin folder, added checks for EEP * Do not keep vc_bin if EEP is not set
24 lines
653 B
ArmAsm
24 lines
653 B
ArmAsm
// VC is using binary matching to stub functions - this hex was copied from SM64
|
|
// osEepromRead/Write are performing infinite cycle inside them which causes recompiler do go crazy
|
|
// _osEepStatus does not have any suspicious asm in it but it is just VC hacked anyways
|
|
// If it is not replaced with a VC variant, EEP probe fails
|
|
|
|
.include "macros.inc"
|
|
.section .text
|
|
|
|
#if defined(EEP)
|
|
// 0x80329150 = 0xE4150
|
|
.balign 16
|
|
glabel osEepromReadVC
|
|
.incbin "bin/vc/osEepromReadVC.bin"
|
|
|
|
// 0x80328af0 = 0xE3AF0
|
|
.balign 16
|
|
glabel osEepromWriteVC
|
|
.incbin "bin/vc/osEepromWriteVC.bin"
|
|
|
|
.balign 16
|
|
glabel __osEepStatusVC
|
|
.incbin "bin/vc/osEepStatusVC.bin"
|
|
#endif
|