aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWohlstand <admin@wohlnet.ru>2025-04-05 05:00:28 +0300
committerWohlstand <admin@wohlnet.ru>2025-04-05 05:00:28 +0300
commit4306c698044f3aa7d688959cd53691abf6900ed5 (patch)
tree337ad53df7e022ae398be8e20373629ad133c4ca
parentf58bd8a88189fdc1c77d5ea2c19d4d03aeca019f (diff)
downloadlibADLMIDI-4306c698044f3aa7d688959cd53691abf6900ed5.tar.gz
libADLMIDI-4306c698044f3aa7d688959cd53691abf6900ed5.tar.bz2
libADLMIDI-4306c698044f3aa7d688959cd53691abf6900ed5.zip
Mame FMOPL: Fixed 3DS build
thanks to @ds-sloth
-rw-r--r--src/chips/mame/mame_fmopl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chips/mame/mame_fmopl.cpp b/src/chips/mame/mame_fmopl.cpp
index 58fafea..3731211 100644
--- a/src/chips/mame/mame_fmopl.cpp
+++ b/src/chips/mame/mame_fmopl.cpp
@@ -556,8 +556,8 @@ static const int8_t lfo_pm_table[8*8*2] = {
/* work table */
struct FM_WorkTable
{
- signed int phase_modulation; /* phase modulation input (SLOT 2) */
- signed int output;
+ int32_t phase_modulation; /* phase modulation input (SLOT 2) */
+ int32_t output;
uint32_t LFO_AM;
int32_t LFO_PM;