mirror of
https://github.com/zeldaret/mm.git
synced 2026-06-01 09:47:18 -04:00
Split rsp files (#602)
This commit is contained in:
@@ -7,8 +7,11 @@
|
||||
extern u64 rspbootTextStart[];
|
||||
extern u64 rspbootTextEnd[];
|
||||
|
||||
u64* initialgspUcodeText = gspF3DEX2_NoN_fifoTextStart;
|
||||
u64* initialgspUcodeData = gspF3DEX2_NoN_fifoDataStart;
|
||||
extern u64 gspF3DZEX2_NoN_PosLight_fifoTextStart[];
|
||||
extern u64 gspF3DZEX2_NoN_PosLight_fifoDataStart[];
|
||||
|
||||
u64* initialgspUcodeText = gspF3DZEX2_NoN_PosLight_fifoTextStart;
|
||||
u64* initialgspUcodeData = gspF3DZEX2_NoN_PosLight_fifoDataStart;
|
||||
|
||||
u64* SysUcode_GetUCodeBoot(void) {
|
||||
return rspbootTextStart;
|
||||
|
||||
+5
-2
@@ -16,6 +16,9 @@
|
||||
#define MARKER_COM 0xFE
|
||||
#define MARKER_EOI 0xD9
|
||||
|
||||
extern u64 njpgdspMainTextStart[];
|
||||
extern u64 njpgdspMainDataStart[];
|
||||
|
||||
/**
|
||||
* Configures and schedules a JPEG decoder task and waits for it to finish.
|
||||
*/
|
||||
@@ -25,9 +28,9 @@ void Jpeg_ScheduleDecoderTask(JpegContext* jpegCtx) {
|
||||
0, // flags
|
||||
NULL, // ucode_boot
|
||||
0, // ucode_boot_size
|
||||
gJpegUCode, // ucode
|
||||
njpgdspMainTextStart, // ucode
|
||||
0x1000, // ucode_size
|
||||
gJpegUCodeData, // ucode_data
|
||||
njpgdspMainDataStart, // ucode_data
|
||||
0x800, // ucode_data_size
|
||||
NULL, // dram_stack
|
||||
0, // dram_stack_size
|
||||
|
||||
Reference in New Issue
Block a user