summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/pgmprot.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/pgmprot.c')
-rw-r--r--src/mame/machine/pgmprot.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mame/machine/pgmprot.c b/src/mame/machine/pgmprot.c
index 9ecdade6a75..3d96723d24c 100644
--- a/src/mame/machine/pgmprot.c
+++ b/src/mame/machine/pgmprot.c
@@ -16,38 +16,38 @@ static UINT32 PSTARS_VAL;
static UINT16 pstar_e7,pstar_b1,pstar_ce;
static UINT16 pstar_ram[3];
-static int Pstar_ba[0x1E]={
+static const int Pstar_ba[0x1E]={
0x02,0x00,0x00,0x01,0x00,0x03,0x00,0x00, //0
0x02,0x00,0x06,0x00,0x22,0x04,0x00,0x03, //8
0x00,0x00,0x06,0x00,0x20,0x07,0x00,0x03, //10
0x00,0x21,0x01,0x00,0x00,0x63
};
-static int Pstar_b0[0x10]={
+static const int Pstar_b0[0x10]={
0x09,0x0A,0x0B,0x00,0x01,0x02,0x03,0x04,
0x05,0x06,0x07,0x08,0x00,0x00,0x00,0x00
};
-static int Pstar_ae[0x10]={
+static const int Pstar_ae[0x10]={
0x5D,0x86,0x8C ,0x8B,0xE0,0x8B,0x62,0xAF,
0xB6,0xAF,0x10A,0xAF,0x00,0x00,0x00,0x00
};
-static int Pstar_a0[0x10]={
+static const int Pstar_a0[0x10]={
0x02,0x03,0x04,0x05,0x06,0x01,0x0A,0x0B,
0x0C,0x0D,0x0E,0x09,0x00,0x00,0x00,0x00,
};
-static int Pstar_9d[0x10]={
+static const int Pstar_9d[0x10]={
0x05,0x03,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
};
-static int Pstar_90[0x10]={
+static const int Pstar_90[0x10]={
0x0C,0x10,0x0E,0x0C,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
};
-static int Pstar_8c[0x23]={
+static const int Pstar_8c[0x23]={
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x01,
0x01,0x01,0x01,0x01,0x02,0x02,0x02,0x02,
@@ -55,7 +55,7 @@ static int Pstar_8c[0x23]={
0x03,0x03,0x03
};
-static int Pstar_80[0x1a3]={
+static const int Pstar_80[0x1a3]={
0x03,0x03,0x04,0x04,0x04,0x04,0x05,0x05,
0x05,0x05,0x06,0x06,0x03,0x03,0x04,0x04,
0x05,0x05,0x05,0x05,0x06,0x06,0x07,0x07,
@@ -317,7 +317,7 @@ static UINT32 bt(UINT32 v, int bit)
static void asic3_compute_hold(void)
{
// The mode is dependant on the region
- static int modes[4] = { 1, 1, 3, 2 };
+ static const int modes[4] = { 1, 1, 3, 2 };
int mode = modes[readinputport(4) & 3];
switch(mode) {