mirror of
https://github.com/zeldaret/tp
synced 2026-05-28 08:25:48 -04:00
cba64289a4
* m_Do_Reset: split and (some) decomp decompiles: - my_OSCancelAlarmAll() - destroyVideo() * mDoRst::reset(): decompile, plus some supporting code * split DVD* functions to dvd.h * mDoRst::resetCallBack(): decompile * JUTXfb: split * JUTXfb: decompile (except for almost-matching ctor) Elaborates JUTVideo and some related stuff. Decompiles the following functions: - JUTXfb::initiate() - JUTXfb::createManager() - JUTXfb::common_init() - JUTXfb::destroyManager() - JUTXfb::~JUTXfb() - JUTXfb::JUTXfb(): *almost* matching up to regalloc * clang-format and extern label modifications Co-authored-by: Pheenoh <pheenoh@gmail.com>
27 lines
489 B
C
27 lines
489 B
C
#ifndef __GX_H__
|
|
#define __GX_H__
|
|
|
|
#include "dolphin/types.h"
|
|
|
|
struct GXRenderModeObj {
|
|
s32 vi_tv_mode;
|
|
u16 fb_width;
|
|
u16 efb_height;
|
|
u16 xfb_height;
|
|
u16 vi_x_origin;
|
|
u16 vi_y_origin;
|
|
u16 vi_width;
|
|
u16 vi_height;
|
|
s32 xfb_mode;
|
|
u8 field_rendering;
|
|
u8 antialiasing;
|
|
u8 sample_pattern[12][2];
|
|
u8 vfilter[7];
|
|
};
|
|
|
|
extern "C" {
|
|
f32 GXGetYScaleFactor(u16 efb_height, u16 xfb_height);
|
|
u16 GXGetNumXfbLines(u32 efb_height, f32 y_scale);
|
|
}
|
|
|
|
#endif |