@@ -93,10 +93,8 @@ TILE_GET_INFO_MEMBER(ohmygod_state::get_tile_info)
93
93
{
94
94
uint16_t code = m_videoram[2 * tile_index + 1 ];
95
95
uint16_t attr = m_videoram[2 * tile_index];
96
- tileinfo.set (0 ,
97
- code,
98
- (attr & 0x0f00 ) >> 8 ,
99
- 0 );
96
+
97
+ tileinfo.set (0 , code, (attr & 0x0f00 ) >> 8 , 0 );
100
98
}
101
99
102
100
@@ -210,7 +208,7 @@ void ohmygod_state::main_map(address_map &map)
210
208
map (0x600000 , 0x6007ff ).ram ().w (m_palette, FUNC (palette_device::write16)).share (" palette" );
211
209
map (0x700000 , 0x703fff ).ram ().share (m_spriteram);
212
210
map (0x704000 , 0x707fff ).ram ();
213
- map (0x708000 , 0x70ffff ).ram (); // Work RAM
211
+ map (0x708000 , 0x70ffff ).ram (); // Work RAM
214
212
map (0x800000 , 0x800001 ).portr (" P1" );
215
213
map (0x800002 , 0x800003 ).portr (" P2" );
216
214
map (0x900000 , 0x900001 ).w (FUNC (ohmygod_state::ctrl_w));
@@ -461,8 +459,7 @@ void ohmygod_state::ohmygod(machine_config &config)
461
459
m_maincpu->set_addrmap (AS_PROGRAM, &ohmygod_state::main_map);
462
460
m_maincpu->set_vblank_int (" screen" , FUNC (ohmygod_state::irq1_line_hold));
463
461
464
- WATCHDOG_TIMER (config, " watchdog" ).set_time (attotime::from_seconds (3 )); // a guess, and certainly wrong
465
-
462
+ WATCHDOG_TIMER (config, " watchdog" ).set_time (attotime::from_seconds (3 )); // a guess, and certainly wrong
466
463
467
464
// video hardware
468
465
screen_device &screen (SCREEN (config, " screen" , SCREEN_TYPE_RASTER));
@@ -480,7 +477,7 @@ void ohmygod_state::ohmygod(machine_config &config)
480
477
// sound hardware
481
478
SPEAKER (config, " mono" ).front_center ();
482
479
483
- okim6295_device &oki (OKIM6295 (config, " oki" , 14000000 / 8 , okim6295_device::PIN7_HIGH));
480
+ okim6295_device &oki (OKIM6295 (config, " oki" , 12000000 / 6 , okim6295_device::PIN7_HIGH));
484
481
oki.set_addrmap (0 , &ohmygod_state::oki_map);
485
482
oki.add_route (ALL_OUTPUTS, " mono" , 1.0 );
486
483
}
0 commit comments