summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/pengo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/pengo.cpp')
-rw-r--r--src/mame/drivers/pengo.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/drivers/pengo.cpp b/src/mame/drivers/pengo.cpp
index 0d4f12b4139..1e9f04fe512 100644
--- a/src/mame/drivers/pengo.cpp
+++ b/src/mame/drivers/pengo.cpp
@@ -79,7 +79,7 @@ public:
DECLARE_DRIVER_INIT(penta);
INTERRUPT_GEN_MEMBER(vblank_irq);
- optional_shared_ptr<UINT8> m_decrypted_opcodes;
+ optional_shared_ptr<uint8_t> m_decrypted_opcodes;
};
@@ -678,12 +678,12 @@ DRIVER_INIT_MEMBER(pengo_state,penta)
(e.g. 0xc0 is XORed with H)
therefore in the following tables we only keep track of A, B, C, D, E, F, G and H.
*/
- static const UINT8 data_xortable[2][8] =
+ static const uint8_t data_xortable[2][8] =
{
{ 0xa0,0x82,0x28,0x0a,0x82,0xa0,0x0a,0x28 }, /* ...............0 */
{ 0x88,0x0a,0x82,0x00,0x88,0x0a,0x82,0x00 } /* ...............1 */
};
- static const UINT8 opcode_xortable[8][8] =
+ static const uint8_t opcode_xortable[8][8] =
{
{ 0x02,0x08,0x2a,0x20,0x20,0x2a,0x08,0x02 }, /* ...0...0...0.... */
{ 0x88,0x88,0x00,0x00,0x88,0x88,0x00,0x00 }, /* ...0...0...1.... */
@@ -695,12 +695,12 @@ DRIVER_INIT_MEMBER(pengo_state,penta)
{ 0x88,0x0a,0x82,0x00,0xa0,0x22,0xaa,0x28 } /* ...1...1...1.... */
};
- UINT8 *rom = memregion("maincpu")->base();
+ uint8_t *rom = memregion("maincpu")->base();
for (int A = 0x0000;A < 0x8000;A++)
{
int i,j;
- UINT8 src;
+ uint8_t src;
src = rom[A];