mirror of
https://github.com/zeldaret/mm.git
synced 2026-07-11 14:18:39 -04:00
ovl_fbdemo_wipe5 OK (#1015)
* ovl_fbdemo_wipe5 OK * format * add trailing newline * bring over gbi.h * review Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com> * format * review Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com> * minor clenaups * review Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com> * Update src/overlays/fbdemos/ovl_fbdemo_wipe5/z_fbdemo_wipe5.c Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> Co-authored-by: Chloe <> Co-authored-by: angie <angheloalf95@gmail.com> Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com>
This commit is contained in:
+4
-4
@@ -2599,11 +2599,11 @@ _DW({ \
|
||||
gsSPLoadUcodeEx((uc_start), (uc_dstart), SP_UCODE_DATA_SIZE)
|
||||
|
||||
#define gSPLoadUcodeL(pkt, ucode) \
|
||||
gSPLoadUcode((pkt), OS_K0_TO_PHYSICAL(&##ucode##TextStart), \
|
||||
OS_K0_TO_PHYSICAL(&##ucode##DataStart))
|
||||
gSPLoadUcode((pkt), OS_K0_TO_PHYSICAL(&ucode##TextStart), \
|
||||
OS_K0_TO_PHYSICAL(&ucode##DataStart))
|
||||
#define gsSPLoadUcodeL(ucode) \
|
||||
gsSPLoadUcode(OS_K0_TO_PHYSICAL(&##ucode##TextStart), \
|
||||
OS_K0_TO_PHYSICAL(&##ucode##DataStart))
|
||||
gsSPLoadUcode(OS_K0_TO_PHYSICAL(&ucode##TextStart), \
|
||||
OS_K0_TO_PHYSICAL(&ucode##DataStart))
|
||||
#endif
|
||||
|
||||
#ifdef F3DEX_GBI_2
|
||||
|
||||
@@ -51,4 +51,6 @@ typedef union {
|
||||
u16 rgba;
|
||||
} Color_RGBA16;
|
||||
|
||||
#define RGBA8(r, g, b, a) ((((r) & 0xFF) << 24) | (((g) & 0xFF) << 16) | (((b) & 0xFF) << 8) | (((a) & 0xFF) << 0))
|
||||
|
||||
#endif
|
||||
|
||||
+1
-1
@@ -2168,7 +2168,7 @@ void func_80140E80(void* param_1);
|
||||
// void func_80140EA0(void);
|
||||
// void func_80140EAC(UNK_TYPE1 param_1, UNK_TYPE1 param_2, UNK_TYPE1 param_3, UNK_TYPE1 param_4, UNK_TYPE4 param_5, UNK_TYPE4 param_6);
|
||||
// void func_80141008(UNK_TYPE1 param_1, UNK_TYPE1 param_2, UNK_TYPE1 param_3, UNK_TYPE1 param_4, UNK_TYPE4 param_5, UNK_TYPE4 param_6, UNK_TYPE4 param_7, UNK_TYPE4 param_8, UNK_TYPE4 param_9, UNK_TYPE4 param_10);
|
||||
// void func_8014116C(UNK_TYPE1 param_1, UNK_TYPE1 param_2, UNK_TYPE1 param_3, UNK_TYPE1 param_4, UNK_TYPE4 param_5, UNK_TYPE4 param_6);
|
||||
void func_8014116C(Gfx** gfxP, u16* arg1, u16* arg2, s32 width, s32 height, s32 arg5);
|
||||
// void func_801411B4(UNK_TYPE1 param_1, UNK_TYPE1 param_2, UNK_TYPE1 param_3, UNK_TYPE1 param_4, UNK_TYPE4 param_5, UNK_TYPE4 param_6, UNK_TYPE4 param_7, UNK_TYPE4 param_8, UNK_TYPE4 param_9, UNK_TYPE4 param_10);
|
||||
// void func_80141200(UNK_TYPE1 param_1, UNK_TYPE1 param_2, UNK_TYPE1 param_3, UNK_TYPE1 param_4, UNK_TYPE4 param_5, UNK_TYPE4 param_6);
|
||||
// void func_8014151C(UNK_TYPE1 param_1, UNK_TYPE1 param_2, UNK_TYPE1 param_3, UNK_TYPE1 param_4, UNK_TYPE4 param_5, UNK_TYPE4 param_6);
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
#include "ultra64/rdp.h"
|
||||
#include "ultra64/rsp.h"
|
||||
#include "ultra64/r4300.h"
|
||||
#include "ultra64/ucode.h"
|
||||
#include "ultra64/vi.h"
|
||||
|
||||
#endif
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
#ifndef ULTRA64_UCODE_H
|
||||
#define ULTRA64_UCODE_H
|
||||
|
||||
#include "PR/ultratypes.h"
|
||||
|
||||
#define SP_DRAM_STACK_SIZE8 0x400
|
||||
#define SP_DRAM_STACK_SIZE64 (SP_DRAM_STACK_SIZE8 >> 3)
|
||||
|
||||
#define SP_UCODE_SIZE 0x1000
|
||||
|
||||
#define SP_UCODE_DATA_SIZE 0x800
|
||||
|
||||
extern u64 rspbootTextStart[];
|
||||
extern u64 rspbootTextEnd[];
|
||||
|
||||
extern u64 aspMainTextStart[];
|
||||
extern u64 aspMainTextEnd[];
|
||||
extern u64 aspMainDataStart[];
|
||||
extern u64 aspMainDataEnd[];
|
||||
|
||||
extern u64 gspF3DZEX2_NoN_PosLight_fifoTextStart[];
|
||||
extern u64 gspF3DZEX2_NoN_PosLight_fifoTextEnd[];
|
||||
extern u64 gspF3DZEX2_NoN_PosLight_fifoDataStart[];
|
||||
extern u64 gspF3DZEX2_NoN_PosLight_fifoDataEnd[];
|
||||
|
||||
extern u64 gspS2DEX2_fifoTextStart[];
|
||||
extern u64 gspS2DEX2_fifoTextEnd[];
|
||||
extern u64 gspS2DEX2_fifoDataStart[];
|
||||
extern u64 gspS2DEX2_fifoDataEnd[];
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user