summaryrefslogtreecommitdiff
path: root/src/engine/fox_versus.c
diff options
context:
space:
mode:
authorSonicDcer <alejandro.asenjo88@gmail.com>2025-05-25 16:47:24 -0300
committerSonicDcer <alejandro.asenjo88@gmail.com>2025-05-25 16:47:24 -0300
commit2e057c10d4fd35ad5a020922076ce59da795a49a (patch)
treef813933149d572c3815fd35f648692f41bfcb6bc /src/engine/fox_versus.c
parenta500ca7d8dde8534c5b3e6724f470fdd7d5028ae (diff)
parent8fffcdb5577a22d5ad4f761bcbdf1ad0468c3450 (diff)
Merge branch 'main' of github.com:HarbourMasters/Starship
Diffstat (limited to 'src/engine/fox_versus.c')
-rw-r--r--src/engine/fox_versus.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/engine/fox_versus.c b/src/engine/fox_versus.c
index fb56a60e..2bba4e29 100644
--- a/src/engine/fox_versus.c
+++ b/src/engine/fox_versus.c
@@ -97,7 +97,7 @@ void func_versus_800BC9DC(f32 xPos, f32 yPos, f32 scale, s32 yScale) {
s32 D_800D4AB0[] = { 40, 64, 64 };
Lib_TextureRect_CI8(&gMasterDisp, D_800D4ABC[yScale], D_800D4AA4[yScale], D_800D4AB0[yScale], 40, xPos, yPos, scale,
- scale);
+ scale);
}
void func_versus_800BCB44(f32 xPos, f32 yPos, f32 scale) {
@@ -110,7 +110,7 @@ void func_versus_800BCC48(f32 xPos, f32 yPos, f32 xScale, f32 yScale, s32 arg4)
s32 D_800D4AE8[] = { 104, 152, 168, 152 };
Lib_TextureRect_CI8(&gMasterDisp, D_800D4AD8[arg4], D_800D4AC8[arg4], D_800D4AE8[arg4], 25, xPos, yPos, xScale,
- yScale);
+ yScale);
}
void func_versus_800BCE24(f32 xPos, f32 yPos, f32 xScale, f32 yScale) {
@@ -168,8 +168,7 @@ void func_versus_800BD350(f32 xPos, f32 yPos) {
}
void func_versus_800BD3A8(f32 xPos, f32 yPos) {
- Lib_TextureRect_CI4(&gMasterDisp, aVsHandicapFrameTex, aVsHandicapFrameTLUT, 80, 71, xPos, yPos, 1.0f,
- 1.0f);
+ Lib_TextureRect_CI4(&gMasterDisp, aVsHandicapFrameTex, aVsHandicapFrameTLUT, 80, 71, xPos, yPos, 1.0f, 1.0f);
}
void func_versus_800BD4D4(f32 xPos, f32 yPos, s32 arg2) {
@@ -1262,6 +1261,9 @@ s32 func_versus_800C1138(s32 max, s32 arg1) {
void Versus_InitMatch(void) {
s32 i;
+ // Until Load_SceneFiles gets fixed, this fixes most of the audio issues in versus
+ AUDIO_SET_SPEC_ALT(SFXCHAN_3, AUDIOSPEC_16);
+
for (i = 0, sVsPlayerCount = 0; i < 4; i++) {
if (!gPlayerInactive[i]) {
sVsPlayerCount++;