Skip to content

Commit 2444e42

Browse files
committed
thcrap_tasofro: add map for th135 bgm
Required to translate artist names
1 parent 5797986 commit 2444e42

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

thcrap_tasofro/src/th135.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ int th135_init()
6565
char *bgm_pattern_fn = fn_for_game("data/bgm/bgm.csv.jdiff");
6666
char *musiccmt_fn = fn_for_game("musiccmt.js");
6767
jsonvfs_add(bgm_pattern_fn, { "themes.js", musiccmt_fn }, bgm_generator);
68+
if (game_id == TH135) {
69+
jsonvfs_add_map(bgm_pattern_fn, { "stringdefs.js" });
70+
}
6871
free(musiccmt_fn);
6972
free(bgm_pattern_fn);
7073
if (game_id >= TH155) {

0 commit comments

Comments
 (0)