From af214cc7ebf2eed2788cea58cb658285adfe528b Mon Sep 17 00:00:00 2001 From: Vitaly Novichkov Date: Tue, 31 Jul 2018 02:58:54 +0300 Subject: Added missing `const` to pan-law tables --- src/chips/dosbox/dbopl.cpp | 2 +- src/chips/nuked/nukedopl3.c | 2 +- src/chips/nuked/nukedopl3_174.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/chips/dosbox/dbopl.cpp b/src/chips/dosbox/dbopl.cpp index 3b0d73d..2c00db2 100644 --- a/src/chips/dosbox/dbopl.cpp +++ b/src/chips/dosbox/dbopl.cpp @@ -220,7 +220,7 @@ static const Bit8u KslShiftTable[4] = { }; // Pan law table -static Bit16u PanLawTable[] = +static const Bit16u PanLawTable[] = { 65535, 65529, 65514, 65489, 65454, 65409, 65354, 65289, 65214, 65129, 65034, 64929, 64814, 64689, 64554, 64410, diff --git a/src/chips/nuked/nukedopl3.c b/src/chips/nuked/nukedopl3.c index 80a8975..267e67a 100644 --- a/src/chips/nuked/nukedopl3.c +++ b/src/chips/nuked/nukedopl3.c @@ -181,7 +181,7 @@ static const Bit8u ch_slot[18] = { * Pan law table */ -static Bit16u panlawtable[] = +static const Bit16u panlawtable[] = { 65535, 65529, 65514, 65489, 65454, 65409, 65354, 65289, 65214, 65129, 65034, 64929, 64814, 64689, 64554, 64410, diff --git a/src/chips/nuked/nukedopl3_174.c b/src/chips/nuked/nukedopl3_174.c index 2f7d874..8f818d4 100644 --- a/src/chips/nuked/nukedopl3_174.c +++ b/src/chips/nuked/nukedopl3_174.c @@ -233,7 +233,7 @@ static const Bit8u ch_slot[18] = { * Pan law table */ -static Bit16u panlawtable[] = +static const Bit16u panlawtable[] = { 65535, 65529, 65514, 65489, 65454, 65409, 65354, 65289, 65214, 65129, 65034, 64929, 64814, 64689, 64554, 64410, -- cgit v1.2.3