summaryrefslogtreecommitdiff
path: root/src/code_80057C60.c
diff options
context:
space:
mode:
authorcoco875 <59367621+coco875@users.noreply.github.com>2024-10-08 00:54:13 +0200
committerGitHub <noreply@github.com>2024-10-07 16:54:13 -0600
commit58d56fcba848e8545052c1d85ef27d0b02841538 (patch)
tree07dfa41605f8db8a84ba4863a67002fead313082 /src/code_80057C60.c
parentf93590691a342a6093854c41ebdbf42fa41cf886 (diff)
Fix linux compilation (#110)
* fix wamr windows normally * fix linux issue * load all wasm in mods folder * minor fix
Diffstat (limited to 'src/code_80057C60.c')
-rw-r--r--src/code_80057C60.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/code_80057C60.c b/src/code_80057C60.c
index 09e33baf2..a0c676010 100644
--- a/src/code_80057C60.c
+++ b/src/code_80057C60.c
@@ -37,6 +37,7 @@
#include "sounds.h"
#include "data/some_data.h"
#include <assets/some_data.h>
+#include "port/Game.h"
//! @warning this macro is undef'd at the end of this file
#define MAKE_RGB(r, g, b) (((r) << 0x10) | ((g) << 0x08) | (b << 0x00))
@@ -2592,7 +2593,8 @@ void func_8005CB60(s32 playerId, s32 lapCount) {
case 1: /* switch 1 */
func_80079084(playerId);
func_800C9060(playerId, SOUND_ARG_LOAD(0x19, 0x00, 0xF0, 0x15));
- if ((GetCourse() == GetLuigiRaceway()) && (D_80165898 == 0) && (gModeSelection != (s32) TIME_TRIALS)) {
+ if ((GetCourse() == GetLuigiRaceway()) && (D_80165898 == 0) &&
+ (gModeSelection != (s32) TIME_TRIALS)) {
D_80165898 = 1;
}
break;