summaryrefslogtreecommitdiffstats
path: root/src/mame/machine/volfied.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/volfied.cpp')
-rw-r--r--src/mame/machine/volfied.cpp40
1 files changed, 20 insertions, 20 deletions
diff --git a/src/mame/machine/volfied.cpp b/src/mame/machine/volfied.cpp
index e6c42f13bfc..e324c186123 100644
--- a/src/mame/machine/volfied.cpp
+++ b/src/mame/machine/volfied.cpp
@@ -19,7 +19,7 @@
#include "emu.h"
#include "includes/volfied.h"
-static const UINT16 palette_data_01[0x50] =
+static const uint16_t palette_data_01[0x50] =
{
0x0000, 0xde7b, 0xde03, 0x5e01, 0x5e02, 0xc07b, 0x0000, 0xde7b,
0x0058, 0x4079, 0x407a, 0x407b, 0xd47b, 0x0000, 0x0000, 0x0000,
@@ -33,7 +33,7 @@ static const UINT16 palette_data_01[0x50] =
0x1e00, 0x1000, 0x9e01, 0x1e02, 0xde02, 0x0038, 0x0e38, 0x0000
};
-static const UINT16 palette_data_02[0x50] =
+static const uint16_t palette_data_02[0x50] =
{
0x0000, 0xde7b, 0xde03, 0x5e01, 0x5e02, 0xc07b, 0x0000, 0xde7b,
0x0058, 0x4079, 0x407a, 0x407b, 0xd47b, 0x0000, 0x0000, 0x0000,
@@ -47,7 +47,7 @@ static const UINT16 palette_data_02[0x50] =
0x187b, 0x947a, 0x0821, 0x9e79, 0x1040, 0x8079, 0xc07a, 0x0000
};
-static const UINT16 palette_data_03[0x50] =
+static const uint16_t palette_data_03[0x50] =
{
0x0000, 0xde7b, 0xde03, 0x5e01, 0x5e02, 0xc07b, 0x0000, 0xde7b,
0x0058, 0x4079, 0x407a, 0x407b, 0xd47b, 0x0000, 0x0000, 0x0000,
@@ -61,7 +61,7 @@ static const UINT16 palette_data_03[0x50] =
0x9201, 0xc002, 0xc003, 0x0003, 0x8002, 0x4001, 0xc002, 0x4003
};
-static const UINT16 palette_data_04[0x50] =
+static const uint16_t palette_data_04[0x50] =
{
0x0000, 0xde7b, 0xde03, 0x5e01, 0x5e02, 0xc07b, 0x0000, 0xde7b,
0x0058, 0x4079, 0x407a, 0x407b, 0xd47b, 0x0000, 0x0000, 0x0000,
@@ -75,7 +75,7 @@ static const UINT16 palette_data_04[0x50] =
0x1e00, 0x1000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000
};
-static const UINT16 palette_data_05[0x50] =
+static const uint16_t palette_data_05[0x50] =
{
0x0000, 0xde7b, 0xde03, 0x5e01, 0x5e02, 0xc07b, 0x0000, 0xde7b,
0x0058, 0x4079, 0x407a, 0x407b, 0xd47b, 0x0000, 0x0000, 0x0000,
@@ -89,7 +89,7 @@ static const UINT16 palette_data_05[0x50] =
0x803a, 0x4208, 0x0821, 0x1042, 0xd65a, 0x9c73, 0xde03, 0x5c02
};
-static const UINT16 palette_data_06[0x50] =
+static const uint16_t palette_data_06[0x50] =
{
0x0000, 0xde7b, 0xde03, 0x5e01, 0x5e02, 0xc07b, 0x0000, 0xde7b,
0x0058, 0x4079, 0x407a, 0x407b, 0xd47b, 0x0000, 0x0000, 0x0000,
@@ -103,7 +103,7 @@ static const UINT16 palette_data_06[0x50] =
0xde01, 0x1e01, 0xc03a, 0x0063, 0x586b, 0x9252, 0x8a31, 0x527a
};
-static const UINT16 palette_data_07[0x50] =
+static const uint16_t palette_data_07[0x50] =
{
0x0000, 0xde7b, 0xde03, 0x5e01, 0x5e02, 0xc07b, 0x0000, 0xde7b,
0x0058, 0x4079, 0x407a, 0x407b, 0xd47b, 0x0000, 0x0000, 0x0000,
@@ -117,7 +117,7 @@ static const UINT16 palette_data_07[0x50] =
0x8c31, 0x1042, 0x9c73, 0x1e00, 0x5c02, 0x0c00, 0x1860, 0x1e78
};
-static const UINT16 palette_data_08[0x50] =
+static const uint16_t palette_data_08[0x50] =
{
0x0000, 0xde7b, 0xde03, 0x5e01, 0x5e02, 0xc07b, 0x0000, 0xde7b,
0x0058, 0x4079, 0x407a, 0x407b, 0xd47b, 0x0000, 0x0000, 0x0000,
@@ -131,7 +131,7 @@ static const UINT16 palette_data_08[0x50] =
0x1e00, 0x1000, 0x9e01, 0x5e02, 0x5e03, 0x0038, 0x0e38, 0x0000
};
-static const UINT16 palette_data_09[0x50] =
+static const uint16_t palette_data_09[0x50] =
{
0x0000, 0xde7b, 0xde03, 0x5e01, 0x5e02, 0xc07b, 0x0000, 0xde7b,
0x0058, 0x4079, 0x407a, 0x407b, 0xd47b, 0x0000, 0x0000, 0x0000,
@@ -145,7 +145,7 @@ static const UINT16 palette_data_09[0x50] =
0x4208, 0x4a29, 0x8c31, 0x1042, 0x1e42, 0x186b, 0x9210, 0x9e31
};
-static const UINT16 palette_data_0a[0x50] =
+static const uint16_t palette_data_0a[0x50] =
{
0x0000, 0xde7b, 0xde03, 0x5e01, 0x5e02, 0xc07b, 0x0000, 0xde7b,
0x0058, 0x4079, 0x407a, 0x407b, 0xd47b, 0x0000, 0x0000, 0x0000,
@@ -159,7 +159,7 @@ static const UINT16 palette_data_0a[0x50] =
0x0003, 0xc003, 0x5e02, 0xde01, 0x5201, 0xd200, 0x0668, 0x4672
};
-static const UINT16 palette_data_0b[0x50] =
+static const uint16_t palette_data_0b[0x50] =
{
0x0000, 0xde7b, 0xde03, 0x5e01, 0x5e02, 0xc07b, 0x0000, 0xde7b,
0x0058, 0x4079, 0x407a, 0x407b, 0xd47b, 0x0000, 0x0000, 0x0000,
@@ -173,7 +173,7 @@ static const UINT16 palette_data_0b[0x50] =
0xce01, 0x8c01, 0x4208, 0xde03, 0x9c02, 0x1e60, 0x1a00, 0x1000
};
-static const UINT16 palette_data_0c[0x50] =
+static const uint16_t palette_data_0c[0x50] =
{
0x0000, 0xde7b, 0xde03, 0x5e01, 0x5e02, 0xc07b, 0x0000, 0xde7b,
0x0058, 0x4079, 0x407a, 0x407b, 0xd47b, 0x0000, 0x0000, 0x0000,
@@ -187,7 +187,7 @@ static const UINT16 palette_data_0c[0x50] =
0xc001, 0xc003, 0xde03, 0x1403, 0xcc01, 0x4a01, 0x0668, 0x4672
};
-static const UINT16 palette_data_0d[0x50] =
+static const uint16_t palette_data_0d[0x50] =
{
0x0000, 0xde7b, 0xde03, 0x5e01, 0x5e02, 0xc07b, 0x0000, 0xde7b,
0x0058, 0x4079, 0x407a, 0x407b, 0xd47b, 0x0000, 0x0000, 0x0000,
@@ -201,7 +201,7 @@ static const UINT16 palette_data_0d[0x50] =
0xde4b, 0x8e39, 0x0821, 0x1600, 0x1000, 0xd201, 0x1e00, 0x0a42
};
-static const UINT16 palette_data_0e[0x50] =
+static const uint16_t palette_data_0e[0x50] =
{
0x0000, 0xde7b, 0xde03, 0x5e01, 0x5e02, 0xc07b, 0x0000, 0xde7b,
0x0058, 0x4079, 0x407a, 0x407b, 0xd47b, 0x0000, 0x0000, 0x0000,
@@ -215,7 +215,7 @@ static const UINT16 palette_data_0e[0x50] =
0x4208, 0x0821, 0x8c31, 0x1042, 0x5a6b, 0x8001, 0x0002, 0x545b
};
-static const UINT16 palette_data_0f[0x50] =
+static const uint16_t palette_data_0f[0x50] =
{
0x0000, 0xde7b, 0xde03, 0x5e01, 0x5e02, 0xc07b, 0x0000, 0xde7b,
0x0058, 0x4079, 0x407a, 0x407b, 0xd47b, 0x0000, 0x0000, 0x0000,
@@ -229,7 +229,7 @@ static const UINT16 palette_data_0f[0x50] =
0x8c31, 0x1042, 0x9c73, 0x1e03, 0x1a02, 0x0c00, 0x9e01, 0x0e00
};
-static const UINT16 palette_data_10[0x50] =
+static const uint16_t palette_data_10[0x50] =
{
0x0000, 0xde7b, 0xde03, 0x5e01, 0x5e02, 0xc07b, 0x0000, 0xde7b,
0x0058, 0x4079, 0x407a, 0x407b, 0xd47b, 0x0000, 0x0000, 0x0000,
@@ -243,7 +243,7 @@ static const UINT16 palette_data_10[0x50] =
0x524a, 0xce39, 0x0821, 0x1600, 0x1000, 0xd201, 0xde03, 0x0a42
};
-static const UINT16 palette_data_11[0x50] =
+static const uint16_t palette_data_11[0x50] =
{
0x0000, 0x4a29, 0x8c31, 0xce39, 0x1042, 0x524a, 0x9452, 0xd65a,
0x1863, 0x0000, 0xde39, 0xde7b, 0xc001, 0x8002, 0x1800, 0x1e00,
@@ -257,7 +257,7 @@ static const UINT16 palette_data_11[0x50] =
0xce39, 0x1c02, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000
};
-static const UINT16 *const palette_data_lookup[] =
+static const uint16_t *const palette_data_lookup[] =
{
nullptr,
palette_data_01,
@@ -296,7 +296,7 @@ TIMER_CALLBACK_MEMBER(volfied_state::volfied_timer_callback)
// Palette commands - palette data written to bank 0: $10 - $af
if (m_current_cmd >= 0x1 && m_current_cmd < 0x12)
{
- const UINT16* palette_data = palette_data_lookup[m_current_cmd];
+ const uint16_t* palette_data = palette_data_lookup[m_current_cmd];
int i;
for (i = 0; i < 0x50; i++)
{
@@ -493,7 +493,7 @@ READ16_MEMBER(volfied_state::volfied_cchip_ram_r)
void volfied_state::volfied_cchip_init( )
{
- m_cchip_ram = make_unique_clear<UINT8[]>(0x400 * 8);
+ m_cchip_ram = make_unique_clear<uint8_t[]>(0x400 * 8);
save_item(NAME(m_current_bank));
save_item(NAME(m_current_cmd));