aboutsummaryrefslogtreecommitdiff
path: root/source/soundux.h
diff options
context:
space:
mode:
authorTwinaphex2020-01-04 19:51:37 +0100
committerGitHub2020-01-04 19:51:37 +0100
commitbb3ef8dab6083eb2cd114f38686882955ad225a2 (patch)
treeb77882a54a13abcd1a48fdac94a3e48962696e81 /source/soundux.h
parentbc69ab7e61d744b5310e6664f733c17903b3f91a (diff)
parentae87b7186c154d43d3b92cd2ca8c31ee34f57b97 (diff)
downloadsnes9x2005-bb3ef8dab6083eb2cd114f38686882955ad225a2.tar.gz
snes9x2005-bb3ef8dab6083eb2cd114f38686882955ad225a2.tar.bz2
snes9x2005-bb3ef8dab6083eb2cd114f38686882955ad225a2.zip
Merge pull request #72 from ToadKing/fix-emscripten
fix emscripten
Diffstat (limited to 'source/soundux.h')
-rw-r--r--source/soundux.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/soundux.h b/source/soundux.h
index a3b4bbc..5cb4218 100644
--- a/source/soundux.h
+++ b/source/soundux.h
@@ -48,7 +48,7 @@ typedef struct
bool mute_sound;
} SoundStatus;
-SoundStatus so;
+extern SoundStatus so;
typedef struct
{
@@ -105,7 +105,7 @@ typedef struct
int32_t noise_hertz;
} SSoundData;
-SSoundData SoundData;
+extern SSoundData SoundData;
void S9xSetSoundVolume(int32_t channel, int16_t volume_left, int16_t volume_right);
void S9xSetSoundFrequency(int32_t channel, int32_t hertz);