mirror of
https://github.com/encounter/tp.git
synced 2026-07-11 06:18:46 -07:00
Start linking some TUs on debug and PAL (#2612)
* Fix clang union handling (affects all TUs including d_camera.h) Union members with non-trivial ctors/dtors is undefined behavior and clangd normally throws a fit and refuses to parse the whole union, but it seems to be possible to ifdef the problematic ctors out for non-mwerks compilers and explicitly tell modern compilers to use the defaults instead. Thanks to encounter for this fix. * Link all TUs that already match on debug In order to link TUs for debug, most functions seem to need to have their alignment set to 16 in symbols.txt. There are a few hundred functions that seem to be the exception and break when their alignment is set to 16, but I don't know the reason for this. * Remove some fakematches (nosyminline/sym off) for weak func order in retail * Fix clang not knowing that MSL_C++ is C++ * Link more debug TUs * Fix missing PAL split * Fix wrong slashes being used in includes * RZDE01_00: Fix incorrect capitalization in config.yml * Add RZDE01_00 to configure task * Revert configure.py to use MatchingFor * Fix PAL splits and symbols, link matching PAL TUs
This commit is contained in:
@@ -8,8 +8,6 @@
|
||||
int mDoGph_Create();
|
||||
void mDoGph_drawFilterQuad(s8 param_0, s8 param_1);
|
||||
|
||||
extern bool data_80450BE7; // AutoForcus
|
||||
|
||||
struct ResTIMG;
|
||||
class mDoGph_gInf_c {
|
||||
public:
|
||||
@@ -71,8 +69,8 @@ public:
|
||||
static void setBlureRate(u8 i_rate) { mBlureRate = i_rate; }
|
||||
static u8 getBlureRate() { return mBlureRate; }
|
||||
static MtxP getBlureMtx() { return mBlureMtx; }
|
||||
static void offAutoForcus() { data_80450BE7 = 0; }
|
||||
static BOOL isAutoForcus() { return data_80450BE7; }
|
||||
static void offAutoForcus() { mAutoForcus = 0; }
|
||||
static BOOL isAutoForcus() { return mAutoForcus; }
|
||||
static void setTickRate(u32 rate) { JFWDisplay::getManager()->setTickRate(rate); }
|
||||
static void waitBlanking(int wait) { JFWDisplay::getManager()->waitBlanking(wait); }
|
||||
|
||||
@@ -174,6 +172,7 @@ public:
|
||||
static bool mBlureFlag;
|
||||
static u8 mBlureRate;
|
||||
static u8 mFade;
|
||||
static bool mAutoForcus;
|
||||
|
||||
#if PLATFORM_WII || PLATFORM_SHIELD
|
||||
static cXyz m_nowEffPos;
|
||||
|
||||
Reference in New Issue
Block a user