Merge branch 'main' into pal
This commit is contained in:
commit
de29cbfcf4
3 changed files with 25 additions and 1 deletions
|
|
@ -3,3 +3,6 @@ Sections:
|
|||
.ctors type:rodata align:4
|
||||
.dtors type:rodata align:4
|
||||
.data type:data align:8
|
||||
|
||||
REL/nisDll/main.c:
|
||||
.text start:0x00000000 end:0x0000017C
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
fn_1_0 = .text:0x00000000; // type:function size:0x68
|
||||
ObjectSetup = .text:0x00000000; // type:function size:0x68
|
||||
fn_1_68 = .text:0x00000068; // type:function size:0x2C
|
||||
_prolog = .text:0x00000094; // type:function size:0x9C scope:global
|
||||
_epilog = .text:0x00000130; // type:function size:0x4C scope:global
|
||||
|
|
|
|||
21
src/REL/nisDll/main.c
Normal file
21
src/REL/nisDll/main.c
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#include "game/object.h"
|
||||
|
||||
void fn_1_68(omObjData *object);
|
||||
|
||||
void ObjectSetup(void)
|
||||
{
|
||||
Process *process = omInitObjMan(0xA, 0x2000);
|
||||
omObjData *object = omAddObjEx(process, 0, 0, 0, -1, fn_1_68);
|
||||
u32 *work = object->work;
|
||||
}
|
||||
|
||||
void fn_1_68(omObjData *object)
|
||||
{
|
||||
s8 *work = (s8 *)object->work;
|
||||
if (*work != 0) {
|
||||
(void)work;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
#include "src/REL/executor.c"
|
||||
Loading…
Add table
Add a link
Reference in a new issue