Decompile bviewCopyPixels

This commit is contained in:
Ryan Dwyer
2022-09-01 17:24:55 +10:00
parent 881156147b
commit 4e7a978c16
10 changed files with 96 additions and 357 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ extern OSTimer __osEepromTimer;
extern OSMesgQueue __osEepromTimerQ;
extern OSMesg __osEepromTimerMsg;
extern u32 var8009ca84;
extern u8 *g_FrameBuffers[2];
extern u16 *g_FrameBuffers[2];
extern u8 var8009caec;
extern u8 var8009caed;
extern u8 var8009caee;
+1 -1
View File
@@ -5,7 +5,7 @@
#include "types.h"
Gfx *bviewDrawIrRect(Gfx *gdl, s32 x1, s32 y1, s32 x2, s32 y2);
Gfx *bviewCopyPixels(Gfx *gdl, u8 *fb, s32 top, s32 arg3, s32 arg4, f32 arg5, s32 left, s32 width);
Gfx *bviewCopyPixels(Gfx *gdl, u16 *fb, s32 top, u32 tile, s32 arg4, f32 arg5, s32 left, s32 width);
Gfx *bviewDrawFisheyeRect(Gfx *gdl, s32 arg1, f32 arg2, s32 arg3, s32 arg4);
Gfx *bviewPrepareStaticRgba16(Gfx *gdl, u32 colour, u32 alpha);
Gfx *bviewPrepareStaticI8(Gfx *gdl, u32 colour, u32 alpha);
+1 -1
View File
@@ -108,6 +108,6 @@ void crashAppendChar(char c);
void crashScroll(s32 numlines);
void crashRenderChar(s32 x, s32 y, char c);
void crashReset(void);
void crashRenderFrame(u8 *fb);
void crashRenderFrame(u16 *fb);
#endif
+3 -3
View File
@@ -11,7 +11,7 @@ void profile00009a98(void);
void profileSetMarker(u32 arg0);
Gfx *profileRender(Gfx *gdl);
void viConfigureForLogos(void);
void viConfigureForCopyright(u8 *fb);
void viConfigureForCopyright(u16 *fb);
void viConfigureForLegal(void);
void viReset(s32 stagenum);
void viBlack(bool black);
@@ -19,8 +19,8 @@ void vi00009ed4(void);
void viUpdateMode(void);
void viShake(f32 intensity);
void viSetMode(s32 mode);
u8 *viGetBackBuffer(void);
u8 *viGetFrontBuffer(void);
u16 *viGetBackBuffer(void);
u16 *viGetFrontBuffer(void);
Vp *viGetCurrentPlayerViewport(void);
u16 viGetPerspScale(void);
Gfx *vi0000ab78(Gfx *gdl);
+1 -1
View File
@@ -5329,7 +5329,7 @@ struct rend_vidat {
/*0x20*/ s16 viewleft;
/*0x22*/ s16 viewtop;
/*0x24*/ bool usezbuf;
/*0x28*/ u8 *fb;
/*0x28*/ u16 *fb;
};
struct shieldhit {