libsm64.h must be portable

This commit is contained in:
headshot2017 2023-02-01 22:29:02 -04:00
parent 535a89bea1
commit e7b3421fef
3 changed files with 2 additions and 5 deletions

View file

@ -14,6 +14,7 @@
#include "decomp/include/PR/os_cont.h"
#include "decomp/engine/math_util.h"
#include "decomp/include/sm64.h"
#include "decomp/include/seq_ids.h"
#include "decomp/shim.h"
#include "decomp/memory.h"
#include "decomp/global_state.h"

View file

@ -5,10 +5,6 @@
#include <stdint.h>
#include <stdbool.h>
#include "decomp/include/mario_animation_ids.h"
#include "decomp/include/audio_defines.h"
#include "decomp/include/seq_ids.h"
#ifdef _WIN32
#ifdef SM64_LIB_EXPORT
#define SM64_LIB_FN __declspec(dllexport)

View file

@ -115,7 +115,7 @@ int main( void )
audio_init();
sm64_play_music(0, SEQ_LEVEL_WATER | SEQ_VARIATION, 0);
sm64_play_music(0, 0x05 | 0x80, 0); // from decomp/include/seq_ids.h: SEQ_LEVEL_WATER | SEQ_VARIATION
do
{