Notes for ESC protection, nw

This commit is contained in:
angelosa 2015-12-08 00:22:07 +01:00
parent 8f07bc7977
commit a58f5e3a47
2 changed files with 17 additions and 4 deletions

View File

@ -166,12 +166,23 @@
// Say hello to gokuparo at 0x2a285c // Say hello to gokuparo at 0x2a285c
/*!
@todo
- Daisu Kiss: sets up 0x00257e28 as set variable in a 2p game after beating specific stages, and causes a game breaking sticky sprite.
It actually also sets up something that looks like non-sprite sub-commands in the same area (example is for character select), I'm inclined to think upper bits are actually used for something else:
00010005
00000006
000e0002
002e0080
- Sexy Parodius: sets up p1 as 2 at start of stage 1. Related to missing snow?
*/
static struct sprite_entry { static struct sprite_entry {
int pri; int pri;
UINT32 adr; UINT32 adr;
} sprites[0x100]; } sprites[0x100];
static void generate_sprites(address_space &space, UINT32 src, UINT32 spr, int count) void konamigx_state::generate_sprites(address_space &space, UINT32 src, UINT32 spr, int count)
{ {
int scount = 0; int scount = 0;
int ecount = 0; int ecount = 0;
@ -240,6 +251,7 @@ static void generate_sprites(address_space &space, UINT32 src, UINT32 spr, int c
if(set >= 0x200000 && set < 0xd00000) if(set >= 0x200000 && set < 0xd00000)
{ {
UINT16 count2 = space.read_word(set); UINT16 count2 = space.read_word(set);
set += 2; set += 2;
while(count2) { while(count2) {
UINT16 idx = space.read_word(set); UINT16 idx = space.read_word(set);

View File

@ -164,6 +164,7 @@ public:
void konamigx_mixer_init(screen_device &screen, int objdma); void konamigx_mixer_init(screen_device &screen, int objdma);
void konamigx_objdma(void); void konamigx_objdma(void);
void generate_sprites(address_space &space, UINT32 src, UINT32 spr, int count);
void fantjour_dma_install(); void fantjour_dma_install();