mirror of
https://github.com/zeldaret/oot.git
synced 2024-12-02 15:55:59 +00:00
765cfd63e9
* Name rsp ucodes and surrounding cleanup * Fix comments alignment and remove unnecessary & in sys_ucode * Change capitalization of sys_ucode variables * Remove unnecessary externs for aspMain * Improvements to Jpeg_ScheduleDecoderTask * Split unknown rsp code into a separate file, spacing
20 lines
470 B
C
20 lines
470 B
C
#include "global.h"
|
|
|
|
u64* sDefaultGSPUCodeText = gspF3DZEX2_NoN_PosLight_fifoTextStart;
|
|
u64* sDefaultGSPUCodeData = gspF3DZEX2_NoN_PosLight_fifoDataStart;
|
|
|
|
u64* SysUcode_GetUCodeBoot(void) {
|
|
return rspbootTextStart;
|
|
}
|
|
|
|
size_t SysUcode_GetUCodeBootSize(void) {
|
|
return (size_t)((u8*)rspbootTextEnd - (u8*)rspbootTextStart);
|
|
}
|
|
|
|
u64* SysUcode_GetUCode(void) {
|
|
return sDefaultGSPUCodeText;
|
|
}
|
|
|
|
u64* SysUcode_GetUCodeData(void) {
|
|
return sDefaultGSPUCodeData;
|
|
}
|