Minor changes

This commit is contained in:
Angelo Salese 2013-02-07 15:52:41 +00:00
parent 8dac4c4e55
commit dc47175aac
5 changed files with 10 additions and 38 deletions

1
.gitattributes vendored
View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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);

View File

@ -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