Support for new ucode loading patterns (#4038)
This commit is contained in:
@@ -1,20 +1,25 @@
|
||||
#include "global.h"
|
||||
|
||||
//uintptr_t D_8012DBA0 = (uintptr_t)&D_80155F50;
|
||||
//uintptr_t D_8012DBA4 = (uintptr_t)&D_80157580;
|
||||
#include "public/bridge/gfxbridge.h"
|
||||
|
||||
UcodeHandlers sDefaultGSPUCodeText = ucode_f3dex2;
|
||||
// u64* sDefaultGSPUCodeData = gspF3DZEX2_NoN_PosLight_fifoDataStart;
|
||||
|
||||
uintptr_t SysUcode_GetUCodeBoot(void) {
|
||||
//return &D_80009320;
|
||||
// return rspbootTextStart;
|
||||
return (uintptr_t)NULL;
|
||||
}
|
||||
|
||||
uintptr_t SysUcode_GetUCodeBootSize(void) {
|
||||
//return (uintptr_t)&D_800093F0 - (uintptr_t)&D_80009320;
|
||||
size_t SysUcode_GetUCodeBootSize(void) {
|
||||
// return (ptrdiff_t)((uintptr_t)rspbootTextEnd - (uintptr_t)rspbootTextStart);
|
||||
return 0;
|
||||
}
|
||||
|
||||
uintptr_t SysUcode_GetUCode(void) {
|
||||
//return D_8012DBA0;
|
||||
uint32_t SysUcode_GetUCode(void) {
|
||||
return sDefaultGSPUCodeText;
|
||||
}
|
||||
|
||||
uintptr_t SysUcode_GetUCodeData(void) {
|
||||
//return D_8012DBA4;
|
||||
// return sDefaultGSPUCodeData;
|
||||
return (uintptr_t)NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user