mirror of
https://github.com/projectPiki/pikmin2.git
synced 2025-01-22 14:04:23 +00:00
Do AppThread
This commit is contained in:
parent
e863925d01
commit
f8a16fd257
@ -19,6 +19,7 @@ Some of this progress may be outdated, or a branch other than main (workshop or
|
||||
### DONE
|
||||
- sysBootupU/sysBootup.cpp
|
||||
- sysCommonU/id32.cpp
|
||||
- sysGCU/appThread.cpp
|
||||
- plugProjectKandoU/TSoundEvent.cpp
|
||||
- plugProjectHikinoU/PSCreatureMgr.cpp
|
||||
|
||||
|
11
include/AppThread.h
Normal file
11
include/AppThread.h
Normal file
@ -0,0 +1,11 @@
|
||||
#ifndef _APPTHREAD_H
|
||||
#define _APPTHREAD_H
|
||||
|
||||
#include "JSystem/JKRThread.h"
|
||||
|
||||
struct AppThread : public JKRThread {
|
||||
AppThread(unsigned long, int, int);
|
||||
virtual ~AppThread();
|
||||
};
|
||||
|
||||
#endif
|
13
include/JSystem/JKRThread.h
Normal file
13
include/JSystem/JKRThread.h
Normal file
@ -0,0 +1,13 @@
|
||||
#ifndef _JSYSTEM_JKRTHREAD_H
|
||||
#define _JSYSTEM_JKRTHREAD_H
|
||||
|
||||
#include "types.h"
|
||||
|
||||
struct JKRThread {
|
||||
JKRThread(unsigned long, int, int);
|
||||
|
||||
virtual ~JKRThread();
|
||||
virtual void run();
|
||||
};
|
||||
|
||||
#endif
|
@ -851,7 +851,7 @@ TEXT_O_FILES:=\
|
||||
$(BUILD_DIR)/asm/sysGCU/gameflow.o\
|
||||
$(BUILD_DIR)/asm/sysGCU/menuSection.o\
|
||||
$(BUILD_DIR)/asm/sysGCU/dvdThread.o\
|
||||
$(BUILD_DIR)/asm/sysGCU/appThread.o\
|
||||
$(BUILD_DIR)/src/sysGCU/appThread.o\
|
||||
$(BUILD_DIR)/asm/sysGCU/controller.o\
|
||||
$(BUILD_DIR)/asm/sysGCU/graphics.o\
|
||||
$(BUILD_DIR)/asm/sysGCU/matMath.o\
|
||||
|
@ -1,28 +1,11 @@
|
||||
|
||||
#include "AppThread.h"
|
||||
|
||||
/*
|
||||
* --INFO--
|
||||
* Address: 80424E18
|
||||
* Size: 00003C
|
||||
*/
|
||||
void AppThread::AppThread(unsigned long, int, int)
|
||||
AppThread::AppThread(unsigned long r3, int r4, int r5)
|
||||
: JKRThread(r3, r4, r5)
|
||||
{
|
||||
/*
|
||||
.loc_0x0:
|
||||
stwu r1, -0x10(r1)
|
||||
mflr r0
|
||||
stw r0, 0x14(r1)
|
||||
stw r31, 0xC(r1)
|
||||
mr r31, r3
|
||||
bl -0x3FF7F4
|
||||
lis r4, 0x804F
|
||||
mr r3, r31
|
||||
subi r0, r4, 0x44A8
|
||||
stw r0, 0x0(r31)
|
||||
lwz r31, 0xC(r1)
|
||||
lwz r0, 0x14(r1)
|
||||
mtlr r0
|
||||
addi r1, r1, 0x10
|
||||
blr
|
||||
*/
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user