mirror of
https://github.com/zeldaret/tww.git
synced 2026-07-11 06:34:45 -04:00
Fix priority type u32 -> s32
This commit is contained in:
@@ -19,9 +19,9 @@ struct JFWSystem {
|
||||
static u32 fifoBufSize;
|
||||
static u32 aramAudioBufSize;
|
||||
static u32 aramGraphBufSize;
|
||||
static u32 streamPriority;
|
||||
static u32 decompPriority;
|
||||
static u32 aPiecePriority;
|
||||
static s32 streamPriority;
|
||||
static s32 decompPriority;
|
||||
static s32 aPiecePriority;
|
||||
static ResFONT* systemFontRes;
|
||||
static GXRenderModeObj* renderMode;
|
||||
static u32 exConsoleBufferSize;
|
||||
|
||||
@@ -31,8 +31,8 @@ private:
|
||||
/* 0x10 */ u8 field_0x10[0xC];
|
||||
};
|
||||
|
||||
inline void JUTCreateFifo(u32 bufSize) {
|
||||
new JUTGraphFifo(bufSize);
|
||||
inline JUTGraphFifo* JUTCreateFifo(u32 bufSize) {
|
||||
return new JUTGraphFifo(bufSize);
|
||||
}
|
||||
|
||||
#endif /* JUTGRAPHFIFO_H */
|
||||
|
||||
@@ -26,9 +26,9 @@ u32 JFWSystem::CSetUpParam::sysHeapSize = 0x400000;
|
||||
u32 JFWSystem::CSetUpParam::fifoBufSize = 0x40000;
|
||||
u32 JFWSystem::CSetUpParam::aramAudioBufSize = 0x800000;
|
||||
u32 JFWSystem::CSetUpParam::aramGraphBufSize = 0x600000;
|
||||
u32 JFWSystem::CSetUpParam::streamPriority = 8;
|
||||
u32 JFWSystem::CSetUpParam::decompPriority = 7;
|
||||
u32 JFWSystem::CSetUpParam::aPiecePriority = 6;
|
||||
s32 JFWSystem::CSetUpParam::streamPriority = 8;
|
||||
s32 JFWSystem::CSetUpParam::decompPriority = 7;
|
||||
s32 JFWSystem::CSetUpParam::aPiecePriority = 6;
|
||||
ResFONT* JFWSystem::CSetUpParam::systemFontRes = (ResFONT*)JUTResFONT_Ascfont_fix12;
|
||||
GXRenderModeObj* JFWSystem::CSetUpParam::renderMode = &GXNtsc480IntDf;
|
||||
u32 JFWSystem::CSetUpParam::exConsoleBufferSize = 0x24F8;
|
||||
@@ -65,7 +65,9 @@ void JFWSystem::init() {
|
||||
|
||||
sInitCalled = true;
|
||||
|
||||
JKRAram::create(CSetUpParam::aramAudioBufSize,CSetUpParam::aramGraphBufSize, CSetUpParam::streamPriority,CSetUpParam::decompPriority, CSetUpParam::aPiecePriority);
|
||||
JKRAram::create(CSetUpParam::aramAudioBufSize, CSetUpParam::aramGraphBufSize,
|
||||
CSetUpParam::streamPriority,CSetUpParam::decompPriority,
|
||||
CSetUpParam::aPiecePriority);
|
||||
mainThread = new JKRThread(OSGetCurrentThread(), 4);
|
||||
|
||||
JUTVideo::createManager(CSetUpParam::renderMode);
|
||||
|
||||
@@ -679,7 +679,7 @@ s16 mCaptureCenterY = 180;
|
||||
GXColor mCaptureMonoColor0 = { 0x00, 0x00, 0x00, 0x00 };
|
||||
GXColor mCaptureMonoColor1 = { 0xFF, 0xFF, 0xFF, 0xFF };
|
||||
u32 mCaptureThreadStackSize = 0x2000;
|
||||
u32 mCaptureThreadPriority = 30;
|
||||
s32 mCaptureThreadPriority = 30;
|
||||
|
||||
/* 80009BBC-80009BE0 .text mCaptureAlarmHandler__FP7OSAlarmP9OSContext */
|
||||
void mCaptureAlarmHandler(OSAlarm*, OSContext*) {
|
||||
|
||||
Reference in New Issue
Block a user