mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-18 21:18:23 -04:00
JStudio/JMessage work and cleanup
This commit is contained in:
@@ -1088,10 +1088,10 @@ out:
|
||||
}
|
||||
|
||||
/* 8000AAC4-8000AB1C .text mCaptureProc__FPv */
|
||||
void* mCaptureProc(void* dummy) {
|
||||
void* bytesCopied = (void*)encode_s3tc(mCaptureCaptureBuffer, mCaptureTextureBuffer, mCaptureSizeWidth, mCaptureSizeHeight, (GXTexFmt)mCaptureCaptureFormat);
|
||||
u32 mCaptureProc(void* dummy) {
|
||||
u32 bytesCopied = encode_s3tc(mCaptureCaptureBuffer, mCaptureTextureBuffer, mCaptureSizeWidth, mCaptureSizeHeight, (GXTexFmt)mCaptureCaptureFormat);
|
||||
DCStoreRange(mCaptureTextureBuffer, mCaptureTextureSize);
|
||||
OSExitThread(bytesCopied);
|
||||
OSExitThread((void*)bytesCopied);
|
||||
return bytesCopied;
|
||||
}
|
||||
|
||||
|
||||
@@ -440,7 +440,7 @@ void main01() {
|
||||
OSThread mainThread;
|
||||
|
||||
/* 80006464-800065DC .text main */
|
||||
void main() {
|
||||
int main() {
|
||||
OSThread* current_thread = OSGetCurrentThread();
|
||||
u8 ALIGN_DECL(0x20) stack[0xF000];
|
||||
|
||||
@@ -483,5 +483,5 @@ void main() {
|
||||
OSCreateThread(&mainThread, (void*)main01, 0, stack + sizeof(stack), sizeof(stack), priority, 0);
|
||||
OSResumeThread(&mainThread);
|
||||
OSSetThreadPriority(current_thread, 0x1F);
|
||||
OSSuspendThread(current_thread);
|
||||
return OSSuspendThread(current_thread);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user