mirror of
https://github.com/zeldaret/tp
synced 2026-06-29 11:40:55 -04:00
Improving standard compiler compatibility (#2926)
* Adding explicit dolphin/ prefix & fix characters * Rename ShiftJIS to SJIS * Separate JASSeqReader read methods implementation between compilers. * Fix pointer.h * fix d_item_data typo * fix gcn matching issue
This commit is contained in:
@@ -392,6 +392,9 @@ cflags_revolution_base = [
|
||||
cflags_revolution_retail = [
|
||||
*cflags_revolution_base,
|
||||
"-O4,p",
|
||||
"-DNDEBUG=1",
|
||||
"-DNDEBUG_DEFINED=1",
|
||||
"-DDEBUG_DEFINED=0",
|
||||
]
|
||||
|
||||
cflags_revolution_debug = [
|
||||
@@ -399,6 +402,8 @@ cflags_revolution_debug = [
|
||||
"-opt off",
|
||||
"-inline off",
|
||||
"-DDEBUG=1",
|
||||
"-DDEBUG_DEFINED=1",
|
||||
"-DNDEBUG_DEFINED=0",
|
||||
]
|
||||
|
||||
# Framework flags
|
||||
|
||||
@@ -37,11 +37,23 @@ public:
|
||||
u8* getCur() { return field_0x04; }
|
||||
u32 readByte() { return *field_0x04++; }
|
||||
u32 read16() {
|
||||
#ifdef __MWERKS__
|
||||
return *((u16*)field_0x04)++;
|
||||
#else
|
||||
u16* value = (u16*)field_0x04;
|
||||
field_0x04 += 2;
|
||||
return *value;
|
||||
#endif
|
||||
}
|
||||
u32 read24() {
|
||||
field_0x04--;
|
||||
#ifdef __MWERKS__
|
||||
return (*((u32*)field_0x04)++) & 0x00ffffff;
|
||||
#else
|
||||
u32* value = (u32*)field_0x04;
|
||||
field_0x04 += 4;
|
||||
return (*value) & 0x00ffffff;
|
||||
#endif
|
||||
}
|
||||
u16 getLoopCount() const {
|
||||
if (field_0x08 == 0) {
|
||||
|
||||
@@ -15,10 +15,17 @@ public:
|
||||
template<class T>
|
||||
class TPointer_delete : public TPointer<T> {
|
||||
public:
|
||||
#ifdef __MWERKS__
|
||||
TPointer_delete(T* ptr) : TPointer(ptr) {}
|
||||
~TPointer_delete() {
|
||||
delete mPtr;
|
||||
}
|
||||
#else
|
||||
TPointer_delete(T* ptr) : TPointer<T>(ptr) {}
|
||||
~TPointer_delete() {
|
||||
delete this->mPtr;
|
||||
}
|
||||
#endif
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef JHIRMCC_H
|
||||
#define JHIRMCC_H
|
||||
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
|
||||
struct JHIMccContext;
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef JORHOSTINFO_H
|
||||
#define JORHOSTINFO_H
|
||||
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
|
||||
#define HOSTINFO_REQ_COMPUTER_NAME 0
|
||||
#define HOSTINFO_REQ_USERNAME 1
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef JORMCONTEXT_H
|
||||
#define JORMCONTEXT_H
|
||||
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <stdint.h>
|
||||
#include "JSystem/JHostIO/JORReflexible.h"
|
||||
#include "JSystem/JSupport/JSUMemoryStream.h"
|
||||
|
||||
@@ -42,7 +42,7 @@ public:
|
||||
TRandom_(u32 value) : RandomT(value) {}
|
||||
|
||||
u8 get_uint8(u8 param_0) {
|
||||
return get_ufloat_1() * param_0;
|
||||
return this->get_ufloat_1() * param_0;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef JMESSAGE_H
|
||||
#define JMESSAGE_H
|
||||
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
|
||||
// Struct definitions might be wrong
|
||||
typedef struct bmg_header_t {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef JMESSAGE_LOCALE_H
|
||||
#define JMESSAGE_LOCALE_H
|
||||
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
|
||||
namespace JMessage {
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ public:
|
||||
return ret;
|
||||
}
|
||||
const void* getContent() const {
|
||||
return (const void*)((int)getBlockEnd_() + align_roundUp(get_IDSize(), 4));
|
||||
return (const void*)((intptr_t)getBlockEnd_() + align_roundUp(get_IDSize(), 4));
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef JSUPPORT_H
|
||||
#define JSUPPORT_H
|
||||
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <stdint.h>
|
||||
|
||||
/**
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
#include "JSystem/JKernel/JKRDisposer.h"
|
||||
#include "JSystem/JUtility/JUTAssert.h"
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
|
||||
typedef void (*callbackFn)(int, void*);
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#ifndef F_PC_DEBUG_SV_H_
|
||||
#define F_PC_DEBUG_SV_H_
|
||||
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
|
||||
#if DEBUG
|
||||
|
||||
|
||||
@@ -113,4 +113,10 @@ static const float INF = 2000000000.0f;
|
||||
(void*)0; (void*)0; (void*)0; (void*)0; (void*)0; (void*)0; (void*)0; (void*)0; (void*)0; (void*)0; \
|
||||
(void*)0; (void*)0; (void*)0; (void*)0; (void*)0; (void*)0; (void*)0; (void*)0; (void*)0; (void*)0;
|
||||
|
||||
#ifdef __MWERKS__
|
||||
#define SJIS(character, value) character
|
||||
#else
|
||||
#define SJIS(character, value) ((u32)value)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
#include "dolphin/gx.h"
|
||||
#include <dolphin/vi.h>
|
||||
#include "global.h"
|
||||
#include "stdint.h"
|
||||
|
||||
void JFWDisplay::ctor_subroutine(bool enableAlpha) {
|
||||
mEnableAlpha = enableAlpha;
|
||||
@@ -362,8 +363,8 @@ static void waitForTick(u32 p1, u16 p2) {
|
||||
if (!OSReceiveMessage(JUTVideo::getManager()->getMessageQueue(), &msg, OS_MESSAGE_BLOCK)) {
|
||||
msg = 0;
|
||||
}
|
||||
} while (((int)msg - (int)nextCount) < 0);
|
||||
nextCount = (int)msg + uVar1;
|
||||
} while (((intptr_t)msg - (intptr_t)nextCount) < 0);
|
||||
nextCount = (intptr_t)msg + uVar1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#include "JSystem/JHostIO/JHIMccBuf.h"
|
||||
#include "JSystem/JKernel/JKRHeap.h"
|
||||
#include "JSystem/JHostIO/JHIRMcc.h"
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <cstring.h>
|
||||
|
||||
extern "C" int HIO2Read(u32, u32, void*, u32);
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
#include "JSystem/JHostIO/JHICommonMem.h"
|
||||
#include "JSystem/JKernel/JKRHeap.h"
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
|
||||
int JHIMemBuf::create() {
|
||||
int rt = 1;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
#include "JSystem/JHostIO/JHIMccBuf.h"
|
||||
#include "JSystem/JHostIO/JHIRMcc.h"
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include "global.h"
|
||||
|
||||
u32 gsEnableHostio;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
#include "JSystem/JHostIO/JORFile.h"
|
||||
#include "JSystem/JHostIO/JORServer.h"
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
|
||||
JORFile::JORFile()
|
||||
: mHandle(0),
|
||||
|
||||
@@ -778,8 +778,8 @@ f64 TFunctionValue_list_parameter::update_INTERPOLATE_BSPLINE_dataMore3_(
|
||||
local_68[2] = pfVar2[1];
|
||||
local_48[2] = pfVar2[-2];
|
||||
local_48[3] = pfVar2[0];
|
||||
s32 iVar5 = ((int)pfVar2 - (int)rThis.dat1.get()) / 4;
|
||||
s32 iVar3 = ((int)rThis.dat2.get() - (int)pfVar2) / 4;
|
||||
s32 iVar5 = ((intptr_t)pfVar2 - (intptr_t)rThis.dat1.get()) / 4;
|
||||
s32 iVar3 = ((intptr_t)rThis.dat2.get() - (intptr_t)pfVar2) / 4;
|
||||
switch(iVar5) {
|
||||
case 2:
|
||||
local_68[0] = 2.0 * local_68[1] - local_68[2];
|
||||
|
||||
@@ -186,7 +186,7 @@ void JStudio::TAdaptor::adaptor_setVariableValue_n(JStudio::TControl* pControl,
|
||||
JGadget::TEnumerator<const u32*> enumerator(param_2, param_2 + param_3);
|
||||
while (enumerator) {
|
||||
(*pcVar6)(this, pControl, **enumerator, param_5, iVar7);
|
||||
param_5 = (const void*)((int)param_5 + iVar7);
|
||||
param_5 = (const void*)((intptr_t)param_5 + iVar7);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
#include "JSystem/JStudio/JStudio/stb-data-parse.h"
|
||||
#include "JSystem/JUtility/JUTAssert.h"
|
||||
#include "dolphin/os.h"
|
||||
#include "stdint.h"
|
||||
|
||||
namespace JStudio {
|
||||
namespace stb {
|
||||
@@ -22,12 +23,12 @@ void TParse_TSequence::getData(TData* pData) const {
|
||||
if (type == 0)
|
||||
return;
|
||||
|
||||
const void* next = (const void*)((int)getRaw() + 4);
|
||||
const void* next = (const void*)((intptr_t)getRaw() + 4);
|
||||
if (type <= 0x7f) {
|
||||
pData->next = next;
|
||||
} else {
|
||||
pData->content = next;
|
||||
pData->next = (const void*)((int)next + param);
|
||||
pData->next = (const void*)((intptr_t)next + param);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -43,7 +44,7 @@ void TParse_TParagraph::getData(TData* pData) const {
|
||||
pData->next = data;
|
||||
} else {
|
||||
pData->content = data;
|
||||
pData->next = (const void*)((int)data + align_roundUp(result, 4));
|
||||
pData->next = (const void*)((intptr_t)data + align_roundUp(result, 4));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
#include "JSystem/JSupport/JSUInputStream.h"
|
||||
#include "JSystem/JSupport/JSURandomInputStream.h"
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
|
||||
JSUInputStream::~JSUInputStream() {
|
||||
if (!isGood()) {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
#include "JSystem/JSupport/JSUOutputStream.h"
|
||||
#include "JSystem/JSupport/JSURandomOutputStream.h"
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <cstring.h>
|
||||
|
||||
JSUOutputStream::~JSUOutputStream() {
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <stdint.h>
|
||||
|
||||
OSMessageQueue JUTException::sMessageQueue = {0};
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "JSystem/JSystem.h" // IWYU pragma: keep
|
||||
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include "global.h"
|
||||
|
||||
extern u8 const JUTResFONT_Ascfont_fix12[16736] ATTRIBUTE_ALIGN(32) = {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
|
||||
__declspec(section ".init") void* memcpy(void* dst, const void* src, size_t n) {
|
||||
const unsigned char* s;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -131,7 +131,7 @@ Z2SeqMgr::Z2SeqMgr() : JASGlobalInstance<Z2SeqMgr>(true) {
|
||||
|
||||
void Z2SeqMgr::bgmStart(u32 bgmID, u32 fadeTime, s32 param_2) {
|
||||
switch (bgmID) {
|
||||
case -1:
|
||||
case 0xFFFFFFFF:
|
||||
return;
|
||||
case 0x200005D:
|
||||
bgmAllUnMute(33);
|
||||
|
||||
+1
-1
@@ -795,7 +795,7 @@ static DynamicNameTableEntry const DynamicNameTable[] = {
|
||||
#if !PLATFORM_SHIELD
|
||||
{PROC_GRASS, "d_a_grass"},
|
||||
#endif
|
||||
{0xFFFF, NULL},
|
||||
{-1, NULL},
|
||||
};
|
||||
|
||||
static DynamicModuleControlBase* DMC[PROC_MAX_NUM];
|
||||
|
||||
+17
-17
@@ -364,15 +364,15 @@ bool dBgWKCol::LineCheck(cBgS_LinChk* plinchk) {
|
||||
((u32)y_sp3C >> shift) << m_pkc_head->m_area_x_blocks_shift |
|
||||
(u32)x_sp38 >> shift) << 2;
|
||||
|
||||
while ((offset = *(int*)((int)block + offset)) >= 0) {
|
||||
block = (u16*)((int)block + offset);
|
||||
while ((offset = *(int*)((intptr_t)block + offset)) >= 0) {
|
||||
block = (u16*)((intptr_t)block + offset);
|
||||
shift--;
|
||||
offset = (((u32)z_sp40 >> shift & 1) << 2 |
|
||||
((u32)y_sp3C >> shift & 1) << 1 |
|
||||
((u32)x_sp38 >> shift & 1) << 0) << 2;
|
||||
}
|
||||
|
||||
u16* sp28 = (u16*)((int)block + (offset & 0x7FFFFFFF));
|
||||
u16* sp28 = (u16*)((intptr_t)block + (offset & 0x7FFFFFFF));
|
||||
|
||||
shift = 1 << shift;
|
||||
int cellSize = shift - 1;
|
||||
@@ -927,15 +927,15 @@ void dBgWKCol::CaptPoly(dBgS_CaptPoly& i_captpoly) {
|
||||
4 * (((u32)sp24 >> r29) << m_pkc_head->m_area_xy_blocks_shift |
|
||||
((u32)sp20 >> r29) << m_pkc_head->m_area_x_blocks_shift |
|
||||
(u32)sp1C >> r29);
|
||||
while ((sp14 = (*(int*)((int)sp18 + sp14))) >= 0) {
|
||||
sp18 = (u16*)((int)sp18 + sp14);
|
||||
while ((sp14 = (*(int*)((intptr_t)sp18 + sp14))) >= 0) {
|
||||
sp18 = (u16*)((intptr_t)sp18 + sp14);
|
||||
r29--;
|
||||
sp14 = (((u32)sp24 >> r29 & 1) << 2 |
|
||||
((u32)sp20 >> r29 & 1) << 1 |
|
||||
((u32)sp1C >> r29 & 1) << 0) << 2;
|
||||
}
|
||||
|
||||
u16* r28 = (u16*)((int)sp18 + (sp14 & 0x7FFFFFFF));
|
||||
u16* r28 = (u16*)((intptr_t)sp18 + (sp14 & 0x7FFFFFFF));
|
||||
|
||||
r29 = 1 << r29;
|
||||
int sp10 = r29 - 1;
|
||||
@@ -1098,8 +1098,8 @@ bool dBgWKCol::WallCorrectSort(dBgS_Acch* pwi) {
|
||||
((u32)sp_e0 >> shift_d0) << m_pkc_head->m_area_xy_blocks_shift |
|
||||
((u32)sp_dc >> shift_d0) << m_pkc_head->m_area_x_blocks_shift |
|
||||
((u32)sp_d8 >> shift_d0));
|
||||
while ((sp_cc = *(int*)((int)block_d4 + sp_cc)) >= 0) {
|
||||
block_d4 = (u16*)((int)block_d4 + sp_cc);
|
||||
while ((sp_cc = *(int*)((intptr_t)block_d4 + sp_cc)) >= 0) {
|
||||
block_d4 = (u16*)((intptr_t)block_d4 + sp_cc);
|
||||
shift_d0--;
|
||||
sp_cc = 4 * (
|
||||
((((u32)sp_e0 >> shift_d0) & 1) << 2) |
|
||||
@@ -1107,7 +1107,7 @@ bool dBgWKCol::WallCorrectSort(dBgS_Acch* pwi) {
|
||||
((((u32)sp_d8 >> shift_d0) & 1) << 0)
|
||||
);
|
||||
}
|
||||
u16* sp_c8 = (u16*)((int)block_d4 + (sp_cc & 0x7fffffff));
|
||||
u16* sp_c8 = (u16*)((intptr_t)block_d4 + (sp_cc & 0x7fffffff));
|
||||
shift_d0 = 1 << shift_d0;
|
||||
int sp_c4 = shift_d0 - 1;
|
||||
sp_108 = shift_d0 - (sp_d8 & sp_c4);
|
||||
@@ -1556,15 +1556,15 @@ bool dBgWKCol::WallCorrect(dBgS_Acch* pwi) {
|
||||
((u32)spB8 >> spAC) << m_pkc_head->m_area_x_blocks_shift |
|
||||
(u32)spB4 >> spAC);
|
||||
|
||||
while ((spA8 = *(int*)((int)spB0 + spA8)) >= 0) {
|
||||
spB0 = (u16*)((int)spB0 + spA8);
|
||||
while ((spA8 = *(int*)((intptr_t)spB0 + spA8)) >= 0) {
|
||||
spB0 = (u16*)((intptr_t)spB0 + spA8);
|
||||
spAC--;
|
||||
spA8 = ((((u32)spBC >> spAC) & 1) << 2 |
|
||||
(((u32)spB8 >> spAC) & 1) << 1 |
|
||||
(((u32)spB4 >> spAC) & 1) << 0) * 4;
|
||||
}
|
||||
|
||||
u16* spA4 = (u16*)((int)spB0 + (spA8 & 0x7FFFFFFF));
|
||||
u16* spA4 = (u16*)((intptr_t)spB0 + (spA8 & 0x7FFFFFFF));
|
||||
spAC = 1 << spAC;
|
||||
u32 spA0 = spAC - 1;
|
||||
spDC = spAC - (spB4 & spA0);
|
||||
@@ -2012,8 +2012,8 @@ bool dBgWKCol::SplGrpChk(dBgS_SplGrpChk* param_0) {
|
||||
int sp20 = 4 * (((u32)sp34 >> sp24) << m_pkc_head->m_area_xy_blocks_shift |
|
||||
((u32)sp2C >> sp24) << m_pkc_head->m_area_x_blocks_shift |
|
||||
(u32)sp38 >> sp24);
|
||||
while ((sp20 = *(int*)((int)sp28 + sp20)) >= 0) {
|
||||
sp28 = ((int)sp28 + sp20);
|
||||
while ((sp20 = *(int*)((intptr_t)sp28 + sp20)) >= 0) {
|
||||
sp28 = ((intptr_t)sp28 + sp20);
|
||||
sp24--;
|
||||
sp20 = 4 *
|
||||
(((u32)sp34 >> sp24 & 1) << 2 |
|
||||
@@ -2172,15 +2172,15 @@ bool dBgWKCol::SphChk(dBgS_SphChk* param_0, void* param_1) {
|
||||
int sp1C = (((u32)sp2C >> var_r29 << m_pkc_head->m_area_xy_blocks_shift) |
|
||||
((u32)sp28 >> var_r29 << m_pkc_head->m_area_x_blocks_shift) |
|
||||
((u32)sp24 >> var_r29)) * 4;
|
||||
while ((sp1C = *(int*)((int)sp20 + sp1C)) >= 0) {
|
||||
sp20 = (u16*)((int)sp20 + sp1C);
|
||||
while ((sp1C = *(int*)((intptr_t)sp20 + sp1C)) >= 0) {
|
||||
sp20 = (u16*)((intptr_t)sp20 + sp1C);
|
||||
var_r29--;
|
||||
sp1C = (((u32)sp2C >> var_r29 & 1) << 2 |
|
||||
((u32)sp28 >> var_r29 & 1) << 1 |
|
||||
((u32)sp24 >> var_r29 & 1)) * 4;
|
||||
}
|
||||
|
||||
u16* var_r28 = (u16*)((int)sp20 + (sp1C & 0x7fffffff));
|
||||
u16* var_r28 = (u16*)((intptr_t)sp20 + (sp1C & 0x7fffffff));
|
||||
var_r29 = 1 << var_r29;
|
||||
int sp18 = var_r29 - 1;
|
||||
sp4C = var_r29 - (sp24 & sp18);
|
||||
|
||||
+508
-508
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -1,7 +1,7 @@
|
||||
#include "d/dolzel.h" // IWYU pragma: keep
|
||||
|
||||
#include "d/d_kankyo.h"
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/gf/GFPixel.h>
|
||||
|
||||
#include "JSystem/JHostIO/JORFile.h"
|
||||
|
||||
@@ -689,9 +689,11 @@ void dKydb_timedisp() {
|
||||
}
|
||||
}
|
||||
|
||||
#if __MWERKS__ || DEBUG
|
||||
if (g_presetHIO.field_0x2716 != 0) {
|
||||
dDbVw_Report(0x1E, 0x55, "JYOKYO FILE YOMIKOMI SIPPAI!");
|
||||
}
|
||||
#endif
|
||||
|
||||
int var_r31 = 0x55;
|
||||
if ((g_kankyoHIO.navy.field_0x22a & 1)) {
|
||||
|
||||
@@ -422,7 +422,7 @@ int dMpath_c::setPointer(dDrawPath_c::room_class* i_room, s8* param_1, s8* param
|
||||
i_room->mpFloatData = (f32*)((uintptr_t)i_room + (uintptr_t)i_room->mpFloatData);
|
||||
|
||||
dDrawPath_c::floor_class* floor_p = i_room->mpFloor;
|
||||
int room = (int)i_room;
|
||||
int room = (intptr_t)i_room;
|
||||
for (int i = 0; i < i_room->mFloorNum; i++) {
|
||||
floor_p->mpGroup = (dDrawPath_c::group_class*)(room + (uintptr_t)floor_p->mpGroup);
|
||||
|
||||
|
||||
@@ -105,7 +105,7 @@ const char* dMenuFmap_getStartStageName(void* i_fieldData) {
|
||||
stage_stag_info_class* stag_info = dComIfGp_getStage()->getStagInfo();
|
||||
if (dStage_stagInfo_GetUpButton(stag_info) == 5) {
|
||||
dMenu_Fmap_virtual_stage_data_c* data_list = (dMenu_Fmap_virtual_stage_data_c*)
|
||||
((int)i_fieldData + ((dMenu_Fmap_field_data_c*)i_fieldData)->mVirtualStageOffset);
|
||||
((intptr_t)i_fieldData + ((dMenu_Fmap_field_data_c*)i_fieldData)->mVirtualStageOffset);
|
||||
dMenu_Fmap_virtual_stage_data_c::data* data = data_list->mData;
|
||||
for (int i = 0; i < data_list->mCount; i++) {
|
||||
if (!strcmp(dComIfGp_getStartStageName(), data[i].mStageName)) {
|
||||
@@ -1801,7 +1801,7 @@ bool dMenu_Fmap_c::isRoomCheck(int i_stageNo, int i_roomNo) {
|
||||
}
|
||||
|
||||
dMenuMapCommon_c::Stage_c* stage_data
|
||||
= (dMenuMapCommon_c::Stage_c*)((int)mpFieldDat + mpFieldDat->mStageDataOffset);
|
||||
= (dMenuMapCommon_c::Stage_c*)((intptr_t)mpFieldDat + mpFieldDat->mStageDataOffset);
|
||||
dMenuMapCommon_c::Stage_c::data* stages = stage_data->mData;
|
||||
u8 stage_no = 0;
|
||||
int i = 0;
|
||||
@@ -1890,7 +1890,7 @@ bool dMenu_Fmap_c::isRoomCheck(int i_stageNo, int i_roomNo) {
|
||||
|
||||
u16 dMenu_Fmap_c::checkStRoomData() {
|
||||
dMenu_Fmap_field_room_data_c* room_data
|
||||
= (dMenu_Fmap_field_room_data_c*)((int)mpFieldDat + mpFieldDat->mRoomDataOffset);
|
||||
= (dMenu_Fmap_field_room_data_c*)((intptr_t)mpFieldDat + mpFieldDat->mRoomDataOffset);
|
||||
dMenu_Fmap_field_room_data_c::data* data = room_data->mData;
|
||||
int count = room_data->mCount;
|
||||
for (int i = 0; i < count; i++) {
|
||||
@@ -1909,7 +1909,7 @@ u16 dMenu_Fmap_c::checkStRoomData() {
|
||||
}
|
||||
}
|
||||
|
||||
data = (dMenu_Fmap_field_room_data_c::data*)((int)data + offset);
|
||||
data = (dMenu_Fmap_field_room_data_c::data*)((intptr_t)data + offset);
|
||||
}
|
||||
|
||||
mFlashRoomCount = 0;
|
||||
@@ -2010,7 +2010,7 @@ bool dMenu_Fmap_c::readAreaData(u8 i_regionNo, bool i_isSelectedRegion) {
|
||||
char tmp_stage_name[8];
|
||||
|
||||
dMenuMapCommon_c::Stage_c::data* stages
|
||||
= ((dMenuMapCommon_c::Stage_c*)((int)mpFieldDat + mpFieldDat->mStageDataOffset))->mData;
|
||||
= ((dMenuMapCommon_c::Stage_c*)((intptr_t)mpFieldDat + mpFieldDat->mStageDataOffset))->mData;
|
||||
u8 stage_no = 0;
|
||||
dMenu_Fmap_stage_data_c* prev_stage_data = NULL;
|
||||
dMenuMapCommon_c::RoomData_c* prev_room_data = NULL;
|
||||
@@ -2254,7 +2254,7 @@ bool dMenu_Fmap_c::readFieldMapData(void** o_data, char const* i_path, bool para
|
||||
}
|
||||
|
||||
void dMenu_Fmap_c::decodeFieldMapData() {
|
||||
int field_data = (int)mpFieldDat;
|
||||
int field_data = (intptr_t)mpFieldDat;
|
||||
dMenu_Fmap_field_region_data_c* region_data
|
||||
= (dMenu_Fmap_field_region_data_c*)(field_data + mpFieldDat->mRegionDataOffset);
|
||||
dMenuMapCommon_c::Stage_c* stage_data
|
||||
@@ -2682,7 +2682,7 @@ void dMenu_Fmap_c::drawPortalIcon() {
|
||||
u8 dMenu_Fmap_c::getRegionStageNum(int param_0) {
|
||||
if (mpFieldDat != NULL) {
|
||||
dMenu_Fmap_field_region_data_c* region_data
|
||||
= (dMenu_Fmap_field_region_data_c*)((int)mpFieldDat + mpFieldDat->mRegionDataOffset);
|
||||
= (dMenu_Fmap_field_region_data_c*)((intptr_t)mpFieldDat + mpFieldDat->mRegionDataOffset);
|
||||
dMenu_Fmap_field_region_data_c::data* regions = region_data->mData;
|
||||
for (int i = 0; i < region_data->mCount; i++) {
|
||||
if (param_0 == regions[i].mTextureReadNum) {
|
||||
|
||||
@@ -926,7 +926,7 @@ void dMenu_save_c::memCardCheck() {
|
||||
field_0x1c0 = 0;
|
||||
errDispInitSet(0x3B4); // There is Insufficient space on the Memory Card in Slot A.
|
||||
field_0x9e = 0;
|
||||
mpErrFunc = &iplSelMsgInitSet;
|
||||
mpErrFunc = &dMenu_save_c::iplSelMsgInitSet;
|
||||
mErrProc = PROC_IPL_SELECT_DISP1;
|
||||
field_0x1b4 = 9;
|
||||
break;
|
||||
@@ -938,7 +938,7 @@ void dMenu_save_c::memCardCheck() {
|
||||
field_0x1c0 = 0;
|
||||
errDispInitSet(0x3C4); // There is no save for this game on the Memory Card in Slot A.
|
||||
field_0x9e = 0;
|
||||
mpErrFunc = &gameFileMakeSelInitSet;
|
||||
mpErrFunc = &dMenu_save_c::gameFileMakeSelInitSet;
|
||||
mErrProc = PROC_MAKE_GAME_FILE_SEL_DISP;
|
||||
field_0x1b4 = 9;
|
||||
break;
|
||||
@@ -1048,7 +1048,7 @@ void dMenu_save_c::iplSelInitSet() {
|
||||
|
||||
void dMenu_save_c::IPLSelectDisp1() {
|
||||
if (errorTxtChangeAnm() == true) {
|
||||
mpErrFunc = &iplSelInitSet;
|
||||
mpErrFunc = &dMenu_save_c::iplSelInitSet;
|
||||
mErrProc = PROC_IPL_SELECT_DISP2;
|
||||
mMenuProc = PROC_MEMCARD_ERRMSG_WAIT_KEY;
|
||||
}
|
||||
|
||||
+2
-2
@@ -15,8 +15,8 @@ void dMdl_c::draw() {
|
||||
mpModelData->getMaterialNodePointer(mMaterialId)->loadSharedDL();
|
||||
shape->loadPreDrawSetting();
|
||||
|
||||
GXColor amb_color = {mpTevstr->AmbCol.r, mpTevstr->AmbCol.g, mpTevstr->AmbCol.b,
|
||||
mpTevstr->AmbCol.a};
|
||||
GXColor amb_color = {(u8)mpTevstr->AmbCol.r, (u8)mpTevstr->AmbCol.g, (u8)mpTevstr->AmbCol.b,
|
||||
(u8)mpTevstr->AmbCol.a};
|
||||
GXSetChanAmbColor(GX_COLOR0A0, amb_color);
|
||||
GXSetChanMatColor(GX_COLOR0A0, g_whiteColor);
|
||||
dKy_setLight_nowroom_actor(mpTevstr);
|
||||
|
||||
+18
-18
@@ -467,7 +467,7 @@ void dName_c::MojiSelectAnm3() {}
|
||||
|
||||
int dName_c::mojiChange(u8 idx) {
|
||||
if (mChrInfo[idx].field_0x3 == 0 || mChrInfo[idx].mMojiSet == MOJI_EIGO ||
|
||||
mChrInfo[idx].mCharacter == ' ')
|
||||
mChrInfo[idx].mCharacter == SJIS(' ', 0x8140U))
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
@@ -481,20 +481,20 @@ int dName_c::mojiChange(u8 idx) {
|
||||
switch (mChrInfo[idx].mColumn) {
|
||||
case 0:
|
||||
case 10: {
|
||||
if (mChrInfo[idx].mCharacter == 'ウ' || mChrInfo[idx].mCharacter == 'ゥ' ||
|
||||
mChrInfo[idx].mCharacter == 'ヴ')
|
||||
if (mChrInfo[idx].mCharacter == SJIS('ウ', 0x8345U) || mChrInfo[idx].mCharacter == SJIS('ゥ', 0x8344U) ||
|
||||
mChrInfo[idx].mCharacter == SJIS('ヴ', 0x8394U))
|
||||
{
|
||||
mChrInfo[idx].mCharacter++;
|
||||
|
||||
if (mChrInfo[idx].mCharacter == 'ェ') {
|
||||
mChrInfo[idx].mCharacter = 'ヴ';
|
||||
if (mChrInfo[idx].mCharacter == SJIS('ェ', 0x8346U)) {
|
||||
mChrInfo[idx].mCharacter = SJIS('ヴ', 0x8394U);
|
||||
}
|
||||
|
||||
if (mChrInfo[idx].mCharacter == 'ヵ') {
|
||||
mChrInfo[idx].mCharacter = 'ゥ';
|
||||
if (mChrInfo[idx].mCharacter == SJIS('ヵ', 0x8395U)) {
|
||||
mChrInfo[idx].mCharacter = SJIS('ゥ', 0x8344U);
|
||||
}
|
||||
} else {
|
||||
int c = mChrInfo[idx].mMojiSet != MOJI_HIRA ? 'ァ' : 'ぁ';
|
||||
int c = mChrInfo[idx].mMojiSet != MOJI_HIRA ? SJIS('ァ', 0x8340U) : SJIS('ぁ', 0x829fU);
|
||||
|
||||
if ((mChrInfo[idx].mCharacter - c) % 2) {
|
||||
--mChrInfo[idx].mCharacter;
|
||||
@@ -505,7 +505,7 @@ int dName_c::mojiChange(u8 idx) {
|
||||
break;
|
||||
}
|
||||
case 1: {
|
||||
int c = mChrInfo[idx].mMojiSet != MOJI_HIRA ? 'カ' : 'か';
|
||||
int c = mChrInfo[idx].mMojiSet != MOJI_HIRA ? SJIS('カ', 0x834aU) : SJIS('か', 0x82a9U);
|
||||
c = ((mChrInfo[idx].mCharacter - c) % 2);
|
||||
|
||||
int c2 = c + 1;
|
||||
@@ -513,7 +513,7 @@ int dName_c::mojiChange(u8 idx) {
|
||||
break;
|
||||
}
|
||||
case 2: {
|
||||
int c = mChrInfo[idx].mMojiSet != MOJI_HIRA ? 'サ' : 'さ';
|
||||
int c = mChrInfo[idx].mMojiSet != MOJI_HIRA ? SJIS('サ', 0x8354U) : SJIS('さ', 0x82b3U);
|
||||
c = ((mChrInfo[idx].mCharacter - c) % 2);
|
||||
|
||||
int c2 = c + 1;
|
||||
@@ -523,24 +523,24 @@ int dName_c::mojiChange(u8 idx) {
|
||||
case 3:
|
||||
case 12: {
|
||||
if (mChrInfo[idx].mCharacter != (u32)0x815b) {
|
||||
if (mChrInfo[idx].mCharacter <= (mChrInfo[idx].mMojiSet != MOJI_HIRA ? 'ヂ' : 'ぢ')) {
|
||||
int c = mChrInfo[idx].mMojiSet != MOJI_HIRA ? 'タ' : 'た';
|
||||
if (mChrInfo[idx].mCharacter <= (mChrInfo[idx].mMojiSet != MOJI_HIRA ? SJIS('ヂ', 0x8361U) : SJIS('ぢ', 0x82c0U))) {
|
||||
int c = mChrInfo[idx].mMojiSet != MOJI_HIRA ? SJIS('タ', 0x835eU) : SJIS('た', 0x82bdU);
|
||||
c = ((mChrInfo[idx].mCharacter - c) % 2);
|
||||
|
||||
int c2 = c + 1;
|
||||
mChrInfo[idx].mCharacter = (mChrInfo[idx].mCharacter - c) + (c2 & 1);
|
||||
} else if (mChrInfo[idx].mCharacter <=
|
||||
(mChrInfo[idx].mMojiSet != MOJI_HIRA ? 'ド' : 'ど') &&
|
||||
(mChrInfo[idx].mMojiSet != MOJI_HIRA ? SJIS('ド', 0x8368U) : SJIS('ど', 0x82c7U)) &&
|
||||
mChrInfo[idx].mCharacter >=
|
||||
(mChrInfo[idx].mMojiSet != MOJI_HIRA ? 'テ' : 'て'))
|
||||
(mChrInfo[idx].mMojiSet != MOJI_HIRA ? SJIS('テ', 0x8365U) : SJIS('て', 0x82c4U)))
|
||||
{
|
||||
int c = mChrInfo[idx].mMojiSet != MOJI_HIRA ? 'テ' : 'て';
|
||||
int c = mChrInfo[idx].mMojiSet != MOJI_HIRA ? SJIS('テ', 0x8365U) : SJIS('て', 0x82c4U);
|
||||
c = ((mChrInfo[idx].mCharacter - c) % 2);
|
||||
|
||||
int c2 = c + 1;
|
||||
mChrInfo[idx].mCharacter = (mChrInfo[idx].mCharacter - c) + (c2 & 1);
|
||||
} else {
|
||||
int c = mChrInfo[idx].mMojiSet != MOJI_HIRA ? 'ッ' : 'っ';
|
||||
int c = mChrInfo[idx].mMojiSet != MOJI_HIRA ? SJIS('ッ', 0x8362U) : SJIS('っ', 0x82c1U);
|
||||
int c2 = (mChrInfo[idx].mCharacter - c) % 3;
|
||||
|
||||
int ivar2 = c2 + 1;
|
||||
@@ -554,7 +554,7 @@ int dName_c::mojiChange(u8 idx) {
|
||||
break;
|
||||
}
|
||||
case 5: {
|
||||
int c = mChrInfo[idx].mMojiSet != MOJI_HIRA ? 'ハ' : 'は';
|
||||
int c = mChrInfo[idx].mMojiSet != MOJI_HIRA ? SJIS('ハ', 0x836eU) : SJIS('は', 0x82cdU);
|
||||
int c2 = (mChrInfo[idx].mCharacter - c) % 3;
|
||||
|
||||
int ivar2 = c2 + 1;
|
||||
@@ -567,7 +567,7 @@ int dName_c::mojiChange(u8 idx) {
|
||||
}
|
||||
case 7:
|
||||
case 11: {
|
||||
int c = mChrInfo[idx].mMojiSet != MOJI_HIRA ? 'ャ' : 'ゃ';
|
||||
int c = mChrInfo[idx].mMojiSet != MOJI_HIRA ? SJIS('ャ', 0x8383U) : SJIS('ゃ', 0x82e1U);
|
||||
c = ((mChrInfo[idx].mCharacter - c) % 2);
|
||||
|
||||
int c2 = c + 1;
|
||||
|
||||
+3
-3
@@ -1962,9 +1962,9 @@ static int dStage_roomReadInit(dStage_dt_c* i_stage, void* i_data, int param_2,
|
||||
i_stage->setRoom(p_node);
|
||||
|
||||
for (int i = 0; i < p_node->num; i++) {
|
||||
if ((int)rtbl[i] < 0x80000000) {
|
||||
rtbl[i] = (roomRead_data_class*)((int)rtbl[i] + (int)param_3);
|
||||
rtbl[i]->m_rooms = (u8*)((int)rtbl[i]->m_rooms + (int)param_3);
|
||||
if ((intptr_t)rtbl[i] < 0x80000000) {
|
||||
rtbl[i] = (roomRead_data_class*)((intptr_t)rtbl[i] + (intptr_t)param_3);
|
||||
rtbl[i]->m_rooms = (u8*)((intptr_t)rtbl[i]->m_rooms + (intptr_t)param_3);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/gx.h>
|
||||
#include <dolphin/G2D.h>
|
||||
#include "fake_tgmath.h"
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/am.h>
|
||||
|
||||
#include "__am.h"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
|
||||
// this file is a stub.
|
||||
DECL_WEAK int AMC_IsStub(void);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/amc/AmcExi2Comm.h>
|
||||
|
||||
// prototypes
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/ar.h>
|
||||
#include "fake_tgmath.h"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/ar.h>
|
||||
|
||||
#include "__ar.h"
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/ax.h>
|
||||
|
||||
#include "__ax.h"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/ax.h>
|
||||
|
||||
#include "__ax.h"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/ax.h>
|
||||
|
||||
#include "__ax.h"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/ax.h>
|
||||
|
||||
#include "__ax.h"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/ax.h>
|
||||
|
||||
#include "__ax.h"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/dsp.h>
|
||||
#include <dolphin/ax.h>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/ax.h>
|
||||
|
||||
#include "__ax.h"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/ax.h>
|
||||
|
||||
#include "__ax.h"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/ax.h>
|
||||
#include "fake_tgmath.h"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/ax.h>
|
||||
|
||||
u16 axDspSlaveLength = (AX_DSP_SLAVE_LENGTH * 2);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/ax.h>
|
||||
|
||||
static void* __AXFXAllocFunction(u32 bytes) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/ax.h>
|
||||
#include <dolphin/axfx.h>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/ax.h>
|
||||
#include <dolphin/axfx.h>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/ax.h>
|
||||
#include <dolphin/axfx.h>
|
||||
#include "fake_tgmath.h"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/ax.h>
|
||||
#include <dolphin/axfx.h>
|
||||
#include "fake_tgmath.h"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/ax.h>
|
||||
#include <dolphin/axfx.h>
|
||||
#include "fake_tgmath.h"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/base/PPCArch.h>
|
||||
|
||||
asm u32 PPCMfmsr() {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/base/PPCArch.h>
|
||||
|
||||
void PMBegin(void) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/card.h>
|
||||
|
||||
#include "__card.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include <stdlib.h>
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/card.h>
|
||||
|
||||
#include "__card.h"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/gx.h>
|
||||
#include <dolphin/demo.h>
|
||||
#include "fake_tgmath.h"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/demo.h>
|
||||
|
||||
u32 DEMOFontBitmap[768] ATTRIBUTE_ALIGN(32) = {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/pad.h>
|
||||
#include <dolphin/gx.h>
|
||||
#include <dolphin/vi.h>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/pad.h>
|
||||
#include <dolphin/demo.h>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/gx.h>
|
||||
#include <dolphin/demo.h>
|
||||
#include <dolphin/mtx.h>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/gx.h>
|
||||
#include <dolphin/demo.h>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/gx.h>
|
||||
#include <dolphin/demo.h>
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include <stddef.h>
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/hw_regs.h>
|
||||
|
||||
#include "__dsp.h"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include <stddef.h>
|
||||
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/hw_regs.h>
|
||||
|
||||
#include "__dsp.h"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/os.h>
|
||||
#include <dolphin/dvd.h>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/dvd.h>
|
||||
|
||||
#include "__dvd.h"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/os.h>
|
||||
#include <dolphin/dvd.h>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/dvd.h>
|
||||
|
||||
#include "__dvd.h"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/dvd.h>
|
||||
|
||||
#include "__dvd.h"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/dvd.h>
|
||||
|
||||
#include "__dvd.h"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/dvd.h>
|
||||
|
||||
#include "__dvd.h"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/os.h>
|
||||
#include <dolphin/dvd.h>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/exi.h>
|
||||
|
||||
static BOOL Initialized;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
|
||||
#define REG_MAX 5
|
||||
#define REG(chan, idx) (__EXIRegs[((chan) * REG_MAX) + (idx)])
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/mcc.h>
|
||||
|
||||
#if DEBUG
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/mcc.h>
|
||||
|
||||
#if DEBUG
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/mcc.h>
|
||||
|
||||
#if DEBUG
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/mix.h>
|
||||
|
||||
u16 __MIXVolumeTable[965] = {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/mtx.h>
|
||||
#include <math.h>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/mtx.h>
|
||||
#include <math.h>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/mtx.h>
|
||||
#include "fake_tgmath.h"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/mtx.h>
|
||||
#include "fake_tgmath.h"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/mtx.h>
|
||||
#include <math.h>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/mtx.h>
|
||||
#include "fake_tgmath.h"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/mtx.h>
|
||||
#include <math.h>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/mtx.h>
|
||||
#include <math.h>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
|
||||
// prototypes
|
||||
DECL_WEAK int Hu_IsStub();
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
|
||||
// prototypes
|
||||
DECL_WEAK int Hu_IsStub();
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#include <dolphin.h>
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <dolphin/exi.h>
|
||||
#include <dolphin/os.h>
|
||||
#include <dolphin/si.h>
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user