mirror of
https://github.com/zeldaret/tww.git
synced 2026-07-11 14:38:38 -04:00
Fix inconsistent indentation
This commit is contained in:
@@ -27,7 +27,7 @@ inline u32 getDiffFlag_TexGenNum(u32 param_1) {
|
||||
}
|
||||
|
||||
inline int calcDifferedBufferSize_TexMtxSize(int param_1) {
|
||||
return param_1 * 0x35;
|
||||
return param_1 * 0x35;
|
||||
}
|
||||
|
||||
inline int calcDifferedBufferSize_TexGenSize(int param_1) {
|
||||
|
||||
+12
-12
@@ -87,22 +87,22 @@ typedef struct DVDDriveInfo {
|
||||
} DVDDriveInfo ALIGN_DECL(32);
|
||||
|
||||
typedef struct DVDBB1 {
|
||||
u32 appLoaderLength;
|
||||
void* appLoaderFunc1;
|
||||
void* appLoaderFunc2;
|
||||
void* appLoaderFunc3;
|
||||
u32 appLoaderLength;
|
||||
void* appLoaderFunc1;
|
||||
void* appLoaderFunc2;
|
||||
void* appLoaderFunc3;
|
||||
} DVDBB1;
|
||||
|
||||
typedef struct DVDBB2 {
|
||||
u32 bootFilePosition;
|
||||
u32 FSTPosition;
|
||||
u32 FSTLength;
|
||||
u32 FSTMaxLength;
|
||||
void* FSTAddress;
|
||||
u32 userPosition;
|
||||
u32 userLength;
|
||||
u32 bootFilePosition;
|
||||
u32 FSTPosition;
|
||||
u32 FSTLength;
|
||||
u32 FSTMaxLength;
|
||||
void* FSTAddress;
|
||||
u32 userPosition;
|
||||
u32 userLength;
|
||||
|
||||
u32 padding0;
|
||||
u32 padding0;
|
||||
} DVDBB2;
|
||||
|
||||
#define DVD_MIN_TRANSFER_SIZE 32
|
||||
|
||||
@@ -10,9 +10,9 @@ extern "C" {
|
||||
#define DTORCALL(dtor, objptr) (((void (*)(void*, int))dtor)(objptr, -1))
|
||||
|
||||
typedef struct DestructorChain {
|
||||
struct DestructorChain* next;
|
||||
void* destructor;
|
||||
void* object;
|
||||
struct DestructorChain* next;
|
||||
void* destructor;
|
||||
void* object;
|
||||
} DestructorChain;
|
||||
|
||||
void __unregister_fragment(int fragmentID);
|
||||
|
||||
@@ -21,9 +21,9 @@ static int fragmentID = -2;
|
||||
|
||||
/* clang-format off */
|
||||
static asm char* GetR2() {
|
||||
nofralloc;
|
||||
mr r3, r2
|
||||
blr
|
||||
nofralloc;
|
||||
mr r3, r2
|
||||
blr
|
||||
}
|
||||
/* clang-format on */
|
||||
|
||||
|
||||
@@ -50,7 +50,7 @@ BOOL daPds_c::CreateHeap() {
|
||||
|
||||
mpBgW = new dBgW();
|
||||
|
||||
if (mpBgW != NULL) {
|
||||
if (mpBgW != NULL) {
|
||||
return mpBgW->Set((cBgD_t*)dComIfG_getObjectRes(m_arcname, HDAI1_DZB_HDAI), cBgW::MOVE_BG_e, &mMtx) == true ? FALSE : TRUE;
|
||||
}
|
||||
|
||||
|
||||
+12
-12
@@ -185,21 +185,21 @@ u32 OSGetEuRgb60Mode() {
|
||||
}
|
||||
|
||||
void OSSetEuRgb60Mode(u32 mode) {
|
||||
OSSram *sram;
|
||||
OSSram *sram;
|
||||
|
||||
mode <<= 6;
|
||||
mode &= 0x40;
|
||||
mode <<= 6;
|
||||
mode &= 0x40;
|
||||
|
||||
sram = __OSLockSram();
|
||||
if (mode == (sram->ntd & 0x40))
|
||||
{
|
||||
__OSUnlockSram(FALSE);
|
||||
return;
|
||||
}
|
||||
sram = __OSLockSram();
|
||||
if (mode == (sram->ntd & 0x40))
|
||||
{
|
||||
__OSUnlockSram(FALSE);
|
||||
return;
|
||||
}
|
||||
|
||||
sram->ntd &= ~0x40;
|
||||
sram->ntd |= mode;
|
||||
__OSUnlockSram(TRUE);
|
||||
sram->ntd &= ~0x40;
|
||||
sram->ntd |= mode;
|
||||
__OSUnlockSram(TRUE);
|
||||
}
|
||||
|
||||
u32 OSGetProgressiveMode() {
|
||||
|
||||
Reference in New Issue
Block a user