diff options
Diffstat (limited to 'src/mame/drivers/cosmic.cpp')
-rw-r--r-- | src/mame/drivers/cosmic.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/cosmic.cpp b/src/mame/drivers/cosmic.cpp index bc2e4564818..4625ac6b3ea 100644 --- a/src/mame/drivers/cosmic.cpp +++ b/src/mame/drivers/cosmic.cpp @@ -1546,14 +1546,14 @@ DRIVER_INIT_MEMBER(cosmic_state,cosmicg) { /* Program ROMs have data pins connected different from normal */ offs_t offs, len; - UINT8 *rom; + uint8_t *rom; len = memregion("maincpu")->bytes(); rom = memregion("maincpu")->base(); for (offs = 0; offs < len; offs++) { - UINT8 scrambled = rom[offs]; + uint8_t scrambled = rom[offs]; - UINT8 normal = (scrambled >> 3 & 0x11) + uint8_t normal = (scrambled >> 3 & 0x11) | (scrambled >> 1 & 0x22) | (scrambled << 1 & 0x44) | (scrambled << 3 & 0x88); |