diff options
author | angelosa <salese_corp_ltd@email.it> | 2015-07-14 20:54:20 +0200 |
---|---|---|
committer | angelosa <salese_corp_ltd@email.it> | 2015-07-14 20:54:20 +0200 |
commit | dd47c08afe58f555c8f1aed68bbe69e25dfc3031 (patch) | |
tree | 4aeee607c41000e85dd4917164e5309a26f7f0bb | |
parent | d01d1d45f404c0613a28ddc1b6053156ffadd2c2 (diff) |
Minor changes
-rw-r--r-- | src/emu/machine/segacdblock.c | 4 | ||||
-rw-r--r-- | src/emu/machine/segacdblock.h | 7 | ||||
-rw-r--r-- | src/mess/drivers/saturn.c | 2 |
3 files changed, 6 insertions, 7 deletions
diff --git a/src/emu/machine/segacdblock.c b/src/emu/machine/segacdblock.c index bb3b28f3112..5b6ad253ef9 100644 --- a/src/emu/machine/segacdblock.c +++ b/src/emu/machine/segacdblock.c @@ -26,6 +26,7 @@ 3bba reject routine -> 0xf8 r14 3bbc peri routine -> 0 r14 33cc open, nodisc, fatal -> r0 +2f10 "Last CD-DMA buffer address write %08x",r14 @todo - (fill up this section once pull request these files); @@ -194,13 +195,10 @@ READ32_MEMBER(segacdblock_device::datatrns32_r) m_dma_size += 4; xferoffs += 4; - - printf("%08x ",res); // did we run out of sector? if (xferoffs >= transpart->blocks[xfersect]->size) { - printf("\n"); //CDROM_LOG(("CD: finished xfer of block %d of %d\n", xfersect+1, xfersectnum)) xferoffs = 0; xfersect++; diff --git a/src/emu/machine/segacdblock.h b/src/emu/machine/segacdblock.h index 9e3a6f20312..14db3fa6cf9 100644 --- a/src/emu/machine/segacdblock.h +++ b/src/emu/machine/segacdblock.h @@ -1,8 +1,8 @@ -// license:BSD-3-Clause -// copyright-holders:Angelo Salese +// license:LGPL-2.1+ +// copyright-holders:Angelo Salese, R. Belmont /*************************************************************************** -Template for skeleton device +Sega Saturn CD-Block HLE device implementation ***************************************************************************/ #include "cdrom.h" @@ -255,6 +255,7 @@ private: bool DeleteSectorMode; void cd_defragblocks(partitionT *part); bool m_playtype; + bool m_BufferFull; }; diff --git a/src/mess/drivers/saturn.c b/src/mess/drivers/saturn.c index 69de27e2598..61819a770c3 100644 --- a/src/mess/drivers/saturn.c +++ b/src/mess/drivers/saturn.c @@ -733,7 +733,7 @@ static MACHINE_CONFIG_START( saturn, sat_console_state ) MCFG_NVRAM_ADD_CUSTOM_DRIVER("nvram", sat_console_state, nvram_init) MCFG_NVRAM_ADD_0FILL("smpc_nv") // TODO: default for each region (+ move it inside SMPC when converted to device) - MCFG_SEGACDBLOCK_ADD("sh1_hle", 75) // 150, @todo + MCFG_SEGACDBLOCK_ADD("sh1_hle", 150) // 150, @todo //MCFG_TIMER_DRIVER_ADD("sector_timer", sat_console_state, stv_sector_cb) //MCFG_TIMER_DRIVER_ADD("sh1_cmd", sat_console_state, stv_sh1_sim) |