diff options
Diffstat (limited to 'src/mame/machine')
-rw-r--r-- | src/mame/machine/archimds.c | 10 | ||||
-rw-r--r-- | src/mame/machine/cdicdic.c | 22 | ||||
-rw-r--r-- | src/mame/machine/megadriv.c | 16 | ||||
-rw-r--r-- | src/mame/machine/model1.c | 4 | ||||
-rw-r--r-- | src/mame/machine/n64.c | 4 | ||||
-rw-r--r-- | src/mame/machine/naomibd.c | 2 | ||||
-rw-r--r-- | src/mame/machine/psx.c | 2 | ||||
-rw-r--r-- | src/mame/machine/seicop.c | 4 | ||||
-rw-r--r-- | src/mame/machine/stvcd.c | 4 |
9 files changed, 34 insertions, 34 deletions
diff --git a/src/mame/machine/archimds.c b/src/mame/machine/archimds.c index 1c96a71e4be..2ae1fb5a542 100644 --- a/src/mame/machine/archimds.c +++ b/src/mame/machine/archimds.c @@ -167,15 +167,15 @@ static TIMER_CALLBACK( vidc_audio_tick ) 5884, 5628, 5372, 5116, 4860, 4604, 4348, 4092, 3900, 3772, 3644, 3516, 3388, 3260, 3132, 3004, 2876, 2748, 2620, 2492, 2364, 2236, 2108, 1980, - 1884, 1820, 1756, 1692, 1628, 1564, 1500, 1436, + 1884, 1820, 1756, 1692, 1628, 1564, 1500, 1436, 1372, 1308, 1244, 1180, 1116, 1052, 988, 924, - 876, 844, 812, 780, 748, 716, 684, 652, + 876, 844, 812, 780, 748, 716, 684, 652, 620, 588, 556, 524, 492, 460, 428, 396, - 372, 356, 340, 324, 308, 292, 276, 260, + 372, 356, 340, 324, 308, 292, 276, 260, 244, 228, 212, 196, 180, 164, 148, 132, 120, 112, 104, 96, 88, 80, 72, 64, 56, 48, 40, 32, 24, 16, 8, 0 - }; + }; for(ch=0;ch<8;ch++) { @@ -1004,7 +1004,7 @@ WRITE32_HANDLER(archimedes_memc_page_w) { UINT32 log, phys, memc; -// perms = (data & 0x300)>>8; +// perms = (data & 0x300)>>8; log = phys = memc = 0; switch (memc_pagesize) diff --git a/src/mame/machine/cdicdic.c b/src/mame/machine/cdicdic.c index aedba9845c9..fc2ffa15323 100644 --- a/src/mame/machine/cdicdic.c +++ b/src/mame/machine/cdicdic.c @@ -779,7 +779,7 @@ void cdicdic_device::process_delayed_command() UINT32 next_msf = increment_cdda_frame_bcd((m_time & 0xffff7f00) >> 8); UINT32 rounded_next_msf = increment_cdda_sector_bcd((m_time & 0xffff0000) >> 8); UINT32 lba = 0; -// UINT32 next_lba = 0; +// UINT32 next_lba = 0; UINT8 nybbles[6] = { msf & 0x0000000f, @@ -789,15 +789,15 @@ void cdicdic_device::process_delayed_command() (msf & 0x000f0000) >> 16, (msf & 0x00f00000) >> 20 }; -/* UINT8 next_nybbles[6] = - { - rounded_next_msf & 0x0000000f, - (rounded_next_msf & 0x000000f0) >> 4, - (rounded_next_msf & 0x00000f00) >> 8, - (rounded_next_msf & 0x0000f000) >> 12, - (rounded_next_msf & 0x000f0000) >> 16, - (rounded_next_msf & 0x00f00000) >> 20 - };*/ +/* UINT8 next_nybbles[6] = + { + rounded_next_msf & 0x0000000f, + (rounded_next_msf & 0x000000f0) >> 4, + (rounded_next_msf & 0x00000f00) >> 8, + (rounded_next_msf & 0x0000f000) >> 12, + (rounded_next_msf & 0x000f0000) >> 16, + (rounded_next_msf & 0x00f00000) >> 20 + };*/ lba = nybbles[0] + nybbles[1]*10 + ((nybbles[2] + nybbles[3]*10)*75) + ((nybbles[4] + nybbles[5]*10)*75*60); @@ -808,7 +808,7 @@ void cdicdic_device::process_delayed_command() if(!(msf & 0x0000ff)) { -// next_lba = next_nybbles[0] + next_nybbles[1]*10 + ((next_nybbles[2] + next_nybbles[3]*10)*75) + ((next_nybbles[4] + next_nybbles[5]*10)*75*60); +// next_lba = next_nybbles[0] + next_nybbles[1]*10 + ((next_nybbles[2] + next_nybbles[3]*10)*75) + ((next_nybbles[4] + next_nybbles[5]*10)*75*60); verboselog(machine(), 0, "Playing CDDA sector from MSF location %06x\n", m_time | 2 ); cdda_start_audio(machine().device("cdda"), lba, rounded_next_msf); diff --git a/src/mame/machine/megadriv.c b/src/mame/machine/megadriv.c index 68365831a1f..1f93870d143 100644 --- a/src/mame/machine/megadriv.c +++ b/src/mame/machine/megadriv.c @@ -7536,12 +7536,12 @@ static void genesis_render_videoline_to_videobuffer(int scanline) UINT16 hsize = 64; UINT16 vsize = 64; UINT16 window_right; -// UINT16 window_hpos; +// UINT16 window_hpos; UINT16 window_down; -// UINT16 window_vpos; +// UINT16 window_vpos; UINT16 hscroll_base; -// UINT8 vscroll_mode; -// UINT8 hscroll_mode; +// UINT8 vscroll_mode; +// UINT8 hscroll_mode; int window_firstline; int window_lastline; int window_firstcol; @@ -7586,9 +7586,9 @@ static void genesis_render_videoline_to_videobuffer(int scanline) base_b = MEGADRIVE_REG04_PATTERN_ADDR_B << 13; size = MEGADRIVE_REG10_HSCROLL_SIZE | (MEGADRIVE_REG10_VSCROLL_SIZE<<4); window_right = MEGADRIVE_REG11_WINDOW_RIGHT; -// window_hpos = MEGADRIVE_REG11_WINDOW_HPOS; +// window_hpos = MEGADRIVE_REG11_WINDOW_HPOS; window_down = MEGADRIVE_REG12_WINDOW_DOWN; -// window_vpos = MEGADRIVE_REG12_WINDOW_VPOS; +// window_vpos = MEGADRIVE_REG12_WINDOW_VPOS; screenwidth = MEGADRIVE_REG0C_RS0 | (MEGADRIVE_REG0C_RS1 << 1); @@ -9487,10 +9487,10 @@ int megadrive_z80irq_hpos = 320; if (0) { //int xxx; -// UINT64 frametime; +// UINT64 frametime; // /* reference */ -// frametime = ATTOSECONDS_PER_SECOND/megadriv_framerate; +// frametime = ATTOSECONDS_PER_SECOND/megadriv_framerate; //time_elapsed_since_crap = frame_timer->time_elapsed(); //xxx = machine.device<cpudevice>("maincpu")->attotime_to_cycles(time_elapsed_since_crap); diff --git a/src/mame/machine/model1.c b/src/mame/machine/model1.c index 26681e92dfd..d8174444094 100644 --- a/src/mame/machine/model1.c +++ b/src/mame/machine/model1.c @@ -1059,7 +1059,7 @@ static TGP_FUNCTION( track_lookup ) dist = -1; -// behaviour = 0; +// behaviour = 0; height = 0.0; entry = 0; @@ -1080,7 +1080,7 @@ static TGP_FUNCTION( track_lookup ) float d = (a-z)*(a-z); if(dist == -1 || d<dist) { dist = d; -// behaviour = tgp_data[posd+15]; +// behaviour = tgp_data[posd+15]; height = z; entry = bpos+i; } diff --git a/src/mame/machine/n64.c b/src/mame/machine/n64.c index 9791add3b8d..f9d1ef8c447 100644 --- a/src/mame/machine/n64.c +++ b/src/mame/machine/n64.c @@ -1654,7 +1654,7 @@ static int pif_channel_handle_command(running_machine &machine, int channel, int mame_printf_debug("\n");*/ address = (sdata[1] << 8) | (sdata[2]); -// checksum = address & 0x1f; +// checksum = address & 0x1f; address &= ~0x1f; if (address == 0x400) @@ -1691,7 +1691,7 @@ static int pif_channel_handle_command(running_machine &machine, int channel, int mame_printf_debug("\n");*/ address = (sdata[1] << 8) | (sdata[2]); -// checksum = address & 0x1f; +// checksum = address & 0x1f; address &= ~0x1f; if (address == 0x8000) diff --git a/src/mame/machine/naomibd.c b/src/mame/machine/naomibd.c index 4f808103c85..992d7ed3bbe 100644 --- a/src/mame/machine/naomibd.c +++ b/src/mame/machine/naomibd.c @@ -1223,7 +1223,7 @@ WRITE64_DEVICE_HANDLER( naomibd_w ) static void load_rom_gdrom(running_machine& machine, naomibd_state *v) { -// UINT32 result; +// UINT32 result; cdrom_file *gdromfile; UINT8 buffer[2048]; UINT8 *ptr; diff --git a/src/mame/machine/psx.c b/src/mame/machine/psx.c index aa861fe22ba..8458da495c5 100644 --- a/src/mame/machine/psx.c +++ b/src/mame/machine/psx.c @@ -109,7 +109,7 @@ INTERRUPT_GEN( psx_vblank ) { psxgpu_device *gpu = downcast<psxgpu_device *>( device->machine().device("gpu") ); psx_state *p_psx = device->machine().driver_data<psx_state>(); - + if(p_psx->b_need_sianniv_vblank_hack) { UINT32 pc = cpu_get_pc(device); diff --git a/src/mame/machine/seicop.c b/src/mame/machine/seicop.c index 3b9796e8d36..a435c2b15c9 100644 --- a/src/mame/machine/seicop.c +++ b/src/mame/machine/seicop.c @@ -2416,14 +2416,14 @@ static WRITE16_HANDLER( generic_cop_w ) { UINT8 offs; int div; -// INT16 offs_val; +// INT16 offs_val; //printf("%08x %08x %08x %08x %08x %08x %08x\n",cop_register[0],cop_register[1],cop_register[2],cop_register[3],cop_register[4],cop_register[5],cop_register[6]); offs = (offset & 3) * 4; div = space->read_word(cop_register[4] + offs) + 1; -// offs_val = space->read_word(cop_register[3] + offs); +// offs_val = space->read_word(cop_register[3] + offs); //420 / 180 = 500 : 400 = 30 / 50 = 98 / 18 if(div == 0) { div = 1; } diff --git a/src/mame/machine/stvcd.c b/src/mame/machine/stvcd.c index 6e14591adb3..8f9fe033357 100644 --- a/src/mame/machine/stvcd.c +++ b/src/mame/machine/stvcd.c @@ -577,7 +577,7 @@ static void cd_writeWord(running_machine &machine, UINT32 addr, UINT16 data) // CDROM_LOG(("WW CR4: %04x\n", data)) cr4 = data; if(cr1 != 0 && 0) - printf("CD: command exec %02x %02x %02x %02x %02x (stat %04x)\n", hirqreg, cr1, cr2, cr3, cr4, cd_stat); + printf("CD: command exec %02x %02x %02x %02x %02x (stat %04x)\n", hirqreg, cr1, cr2, cr3, cr4, cd_stat); if (!cdrom) { @@ -1891,7 +1891,7 @@ static void cd_playdata(void) { if (fadstoplay) { - logerror("STVCD: Reading FAD %d\n", cd_curfad); + logerror("STVCD: Reading FAD %d\n", cd_curfad); if (cdrom) { |