mirror of
https://github.com/notwa/mm
synced 2025-02-05 13:23:23 -08:00
another place
This commit is contained in:
parent
4679ee99a6
commit
c0be8f2ef2
1 changed files with 3 additions and 3 deletions
|
@ -122,11 +122,11 @@ load_object:
|
||||||
sll t1, a0, 1
|
sll t1, a0, 1
|
||||||
addu t0, t0, t1
|
addu t0, t0, t1
|
||||||
lhu s0, 0(t0) // object number
|
lhu s0, 0(t0) // object number
|
||||||
beq s0, r0, load_object_return
|
beq s0, r0, +
|
||||||
nop
|
nop
|
||||||
bal is_object_loaded
|
bal is_object_loaded
|
||||||
mov a0, s0
|
mov a0, s0
|
||||||
bne v0, r0, load_object_return
|
bne v0, r0, +
|
||||||
cl v0
|
cl v0
|
||||||
li t8, @global_context
|
li t8, @global_context
|
||||||
li t9, @object_spawn_offset
|
li t9, @object_spawn_offset
|
||||||
|
@ -134,7 +134,7 @@ load_object:
|
||||||
mov a1, s0
|
mov a1, s0
|
||||||
jal @object_spawn
|
jal @object_spawn
|
||||||
nop
|
nop
|
||||||
load_object_return:
|
+:
|
||||||
jpop 4, s0, ra
|
jpop 4, s0, ra
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Reference in a new issue