summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatarGravatar Angelo Salese <angelosa@users.noreply.github.com>2013-02-07 15:52:41 +0000
committerGravatarGravatar Angelo Salese <angelosa@users.noreply.github.com>2013-02-07 15:52:41 +0000
commitdc47175aac0ba8750df85b1eb8d808c027bf328e (patch) (github)
tree1580d7656865414a9f942c2dee17e0fb2f71edde
parent8dac4c4e557c4131791e7a181653d40c4284c7a1 (diff)
downloadmame-dc47175aac0ba8750df85b1eb8d808c027bf328e.tar.bz2
mame-dc47175aac0ba8750df85b1eb8d808c027bf328e.zip
Minor changes
-rw-r--r--.gitattributes1
-rw-r--r--src/mame/drivers/saturn.c1
-rw-r--r--src/mame/drivers/stv.c12
-rw-r--r--src/mame/includes/stv.h21
-rw-r--r--src/mame/machine/stvcd.h13
5 files changed, 10 insertions, 38 deletions
diff --git a/.gitattributes b/.gitattributes
index c60b43e3365..082928804c8 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -4993,7 +4993,6 @@ src/mame/machine/steppers.c svneol=native#text/plain
src/mame/machine/steppers.h svneol=native#text/plain
src/mame/machine/stfight.c svneol=native#text/plain
src/mame/machine/stvcd.c svneol=native#text/plain
-src/mame/machine/stvcd.h svneol=native#text/plain
src/mame/machine/stvprot.c svneol=native#text/plain
src/mame/machine/stvprot.h svneol=native#text/plain
src/mame/machine/subs.c svneol=native#text/plain
diff --git a/src/mame/drivers/saturn.c b/src/mame/drivers/saturn.c
index 0f08997463a..17a69212418 100644
--- a/src/mame/drivers/saturn.c
+++ b/src/mame/drivers/saturn.c
@@ -86,7 +86,6 @@ also has a DSP;
#include "cpu/m68000/m68000.h"
#include "machine/eeprom.h"
#include "cpu/sh2/sh2.h"
-#include "machine/stvcd.h"
#include "machine/scudsp.h"
#include "sound/scsp.h"
#include "sound/cdda.h"
diff --git a/src/mame/drivers/stv.c b/src/mame/drivers/stv.c
index bc88e7303aa..f1d9a929eef 100644
--- a/src/mame/drivers/stv.c
+++ b/src/mame/drivers/stv.c
@@ -306,14 +306,14 @@ WRITE32_MEMBER(saturn_state::magzun_ioga_w32)
*/
-void install_stvbios_speedups(running_machine &machine)
+void saturn_state::install_stvbios_speedups( void )
{
// flushes 0 & 1 on both CPUs are for the BIOS speedups
- sh2drc_add_pcflush(machine.device("maincpu"), 0x60154b2);
- sh2drc_add_pcflush(machine.device("maincpu"), 0x6013aee);
+ sh2drc_add_pcflush(machine().device("maincpu"), 0x60154b2);
+ sh2drc_add_pcflush(machine().device("maincpu"), 0x6013aee);
- sh2drc_add_pcflush(machine.device("slave"), 0x60154b2);
- sh2drc_add_pcflush(machine.device("slave"), 0x6013aee);
+ sh2drc_add_pcflush(machine().device("slave"), 0x60154b2);
+ sh2drc_add_pcflush(machine().device("slave"), 0x6013aee);
}
DRIVER_INIT_MEMBER(saturn_state,stv)
@@ -332,7 +332,7 @@ DRIVER_INIT_MEMBER(saturn_state,stv)
m_scsp_regs = auto_alloc_array(machine(), UINT16, 0x1000/2);
m_backupram = auto_alloc_array_clear(machine(), UINT8, 0x8000);
- install_stvbios_speedups(machine());
+ install_stvbios_speedups();
// do strict overwrite verification - maruchan and rsgun crash after coinup without this.
// cottonbm needs strict PCREL
diff --git a/src/mame/includes/stv.h b/src/mame/includes/stv.h
index a107dc549f2..d4c7d70a372 100644
--- a/src/mame/includes/stv.h
+++ b/src/mame/includes/stv.h
@@ -677,6 +677,10 @@ public:
direntryT *curdir; // current directory
int numfiles; // # of entries in current directory
int firstfile; // first non-directory file
+
+
+ // ST-V specific
+ void install_stvbios_speedups( void );
};
#define MASTER_CLOCK_352 57272720
@@ -705,20 +709,3 @@ public:
#define IRQ_VDP1_END 1 << 13
#define IRQ_ABUS 1 << 15
-
-
-/*----------- defined in drivers/stv.c -----------*/
-
-void install_stvbios_speedups(running_machine &machine);
-
-/*----------- defined in video/stvvdp1.c -----------*/
-
-//extern UINT16 **stv_framebuffer_display_lines;
-//extern int stv_framebuffer_double_interlace;
-//extern int stv_framebuffer_mode;
-//extern UINT8* stv_vdp1_gfx_decode;
-
-//int stv_vdp1_start ( running_machine &machine );
-//void video_update_vdp1(running_machine &machine);
-//void stv_vdp2_dynamic_res_change(running_machine &machine);
-
diff --git a/src/mame/machine/stvcd.h b/src/mame/machine/stvcd.h
deleted file mode 100644
index 6bd5e9ca8b0..00000000000
--- a/src/mame/machine/stvcd.h
+++ /dev/null
@@ -1,13 +0,0 @@
-/***************************************************************************
-
- machine/stvcd.h - Sega Saturn and ST-V CD-ROM handling
-
- By R. Belmont
-
-***************************************************************************/
-
-#ifndef __STVCD_H__
-#define __STVCD_H__
-
-
-#endif