Note about the service mode DSW + game alignment

This commit is contained in:
darq 2016-12-08 16:15:38 +01:00
parent a13b431435
commit 6ea1e4af89

View File

@ -1,11 +1,17 @@
// license:BSD-3-Clause // license:BSD-3-Clause
// copyright-holders:Bryan McPhail // copyright-holders:Bryan McPhail
/*************************************************************************** /***************************************************************************
Vapor Trail (World version) (c) 1989 Data East Corporation Vapor Trail (World version) (c) 1989 Data East Corporation
Vapor Trail (USA version) (c) 1989 Data East USA Vapor Trail (USA version) (c) 1989 Data East USA
Kuhga (Japanese version) (c) 1989 Data East Corporation Kuhga (Japanese version) (c) 1989 Data East Corporation
Notes:
-----
- If you activate the service mode dip switch during the gameplay, it acts like invicibility
either for player 1 and player 2. It works for all sets.
Emulation by Bryan McPhail, mish@tendril.co.uk Emulation by Bryan McPhail, mish@tendril.co.uk
added pal & prom-maps - Highwayman. added pal & prom-maps - Highwayman.
***************************************************************************/ ***************************************************************************/
@ -852,9 +858,8 @@ C3D54*
DRIVER_INIT_MEMBER(vaportra_state,vaportra) DRIVER_INIT_MEMBER(vaportra_state,vaportra)
{ {
uint8_t *RAM = memregion("maincpu")->base(); uint8_t *RAM = memregion("maincpu")->base();
int i;
for (i = 0x00000; i < 0x80000; i++) for (int i = 0x00000; i < 0x80000; i++)
RAM[i] = BITSWAP8(RAM[i],0,6,5,4,3,2,1,7); RAM[i] = BITSWAP8(RAM[i],0,6,5,4,3,2,1,7);
} }