Skip to content

Commit fd0fb82

Browse files
committed
Declare movie functions
1 parent 2c513dd commit fd0fb82

File tree

4 files changed

+25
-6
lines changed

4 files changed

+25
-6
lines changed

SLUS_007.79.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ segments:
6161
- [0x11B60, asm, 11B60]
6262
- [0x14C1C, asm, decode_data]
6363
- [0x14CB0, asm, 14CB0]
64-
- [0x14CC4, asm, movie]
64+
- [0x14CC4, c, movie]
6565
- [0x156C8, asm, 156C8]
6666
- [0x3A3F4, data, 3A3F4] # estimated
6767
- [0x5C000]

THUNDER.ld

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ SECTIONS
3030
BUILD_PATH/asm/11B60.s.o(.rodata);
3131
BUILD_PATH/asm/decode_data.s.o(.rodata);
3232
BUILD_PATH/asm/14CB0.s.o(.rodata);
33-
BUILD_PATH/asm/movie.s.o(.rodata);
33+
BUILD_PATH/src/movie.c.o(.rodata);
3434
BUILD_PATH/asm/156C8.s.o(.rodata);
3535
. = ALIGN(., 4);
3636
main_RODATA_END = .;
@@ -42,7 +42,7 @@ SECTIONS
4242
BUILD_PATH/asm/11B60.s.o(.text);
4343
BUILD_PATH/asm/decode_data.s.o(.text);
4444
BUILD_PATH/asm/14CB0.s.o(.text);
45-
BUILD_PATH/asm/movie.s.o(.text);
45+
BUILD_PATH/src/movie.c.o(.text);
4646
BUILD_PATH/asm/156C8.s.o(.text);
4747
. = ALIGN(., 4);
4848
main_TEXT_END = .;
@@ -62,8 +62,8 @@ SECTIONS
6262
BUILD_PATH/asm/decode_data.s.o(.data);
6363
_14CB0_s = .;
6464
BUILD_PATH/asm/14CB0.s.o(.data);
65-
movie_s = .;
66-
BUILD_PATH/asm/movie.s.o(.data);
65+
movie_c = .;
66+
BUILD_PATH/src/movie.c.o(.data);
6767
_156C8_s = .;
6868
BUILD_PATH/asm/156C8.s.o(.data);
6969
_3A3F4_data__s = .;
@@ -79,7 +79,7 @@ SECTIONS
7979
BUILD_PATH/asm/11B60.s.o(.bss);
8080
BUILD_PATH/asm/decode_data.s.o(.bss);
8181
BUILD_PATH/asm/14CB0.s.o(.bss);
82-
BUILD_PATH/asm/movie.s.o(.bss);
82+
BUILD_PATH/src/movie.c.o(.bss);
8383
BUILD_PATH/asm/156C8.s.o(.bss);
8484
. = ALIGN(., 4);
8585
main_BSS_END = .;

src/movie.c

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#include "common.h"
2+
3+
INCLUDE_ASM("asm/nonmatchings/movie", play_movie);
4+
5+
INCLUDE_ASM("asm/nonmatchings/movie", strSetDefDecEnv);
6+
7+
INCLUDE_ASM("asm/nonmatchings/movie", strInit);
8+
9+
INCLUDE_ASM("asm/nonmatchings/movie", strCallback);
10+
11+
INCLUDE_ASM("asm/nonmatchings/movie", strNextVlc);
12+
13+
INCLUDE_ASM("asm/nonmatchings/movie", strNext);
14+
15+
INCLUDE_ASM("asm/nonmatchings/movie", strSync);
16+
17+
INCLUDE_ASM("asm/nonmatchings/movie", strKickCD);

symbol_addrs.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ _bu_init = 0x800487b4; // type:func
22
_card_info = 0x800487c4; // type:func
33
_card_load = 0x800487d4; // type:func
44
cache_file_pos = 0x80021310; // type:func
5+
CdControl = 0x8002fbc8; // type:func
56
CdGetToc = 0x8002f6b4; // type:func
67
CdGetToc2 = 0x8002f6d8; // type:func
78
CdInit = 0x8002f8fc; // type:func
@@ -64,6 +65,7 @@ StopCARD = 0x80048874; // type:func
6465
strCallback = 0x800249cc; // type:func
6566
strInit = 0x80024948; // type:func
6667
strKickCD = 0x80024e54; // type:func
68+
strNext = 0x80024c8c; // type:func
6769
strNextVlc = 0x80024bf4; // type:func
6870
strSetDefDecEnv = 0x80024890; // type:func
6971
strSync = 0x80024d90; // type:func

0 commit comments

Comments
 (0)