mirror of
https://github.com/holub/mame
synced 2025-05-22 05:38:52 +03:00
address space compilation errors.
This commit is contained in:
parent
272b3f6725
commit
b2446584f6
@ -656,7 +656,7 @@ static INTERRUPT_GEN( bbuster )
|
|||||||
|
|
||||||
static VIDEO_EOF( bbuster )
|
static VIDEO_EOF( bbuster )
|
||||||
{
|
{
|
||||||
address_space *space = cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_PROGRAM);
|
const address_space *space = cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_PROGRAM);
|
||||||
|
|
||||||
buffer_spriteram16_w(space,0,0,0xffff);
|
buffer_spriteram16_w(space,0,0,0xffff);
|
||||||
buffer_spriteram16_2_w(space,0,0,0xffff);
|
buffer_spriteram16_2_w(space,0,0,0xffff);
|
||||||
@ -664,7 +664,7 @@ static VIDEO_EOF( bbuster )
|
|||||||
|
|
||||||
static VIDEO_EOF( mechatt )
|
static VIDEO_EOF( mechatt )
|
||||||
{
|
{
|
||||||
address_space *space = cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_PROGRAM);
|
const address_space *space = cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_PROGRAM);
|
||||||
buffer_spriteram16_w(space,0,0,0xffff);
|
buffer_spriteram16_w(space,0,0,0xffff);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -536,7 +536,7 @@ static READ8_HANDLER( berzerk_audio_r )
|
|||||||
|
|
||||||
static SOUND_RESET(berzerk)
|
static SOUND_RESET(berzerk)
|
||||||
{
|
{
|
||||||
address_space *space = cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_IO);
|
const address_space *space = cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_IO);
|
||||||
/* clears the flip-flop controlling the volume and freq on the speech chip */
|
/* clears the flip-flop controlling the volume and freq on the speech chip */
|
||||||
berzerk_audio_w(space, 4, 0x40);
|
berzerk_audio_w(space, 4, 0x40);
|
||||||
}
|
}
|
||||||
|
@ -426,7 +426,9 @@ static void draw_sprites(running_machine *machine, bitmap_t *bitmap, const recta
|
|||||||
|
|
||||||
static STATE_POSTLOAD( st0016_postload )
|
static STATE_POSTLOAD( st0016_postload )
|
||||||
{
|
{
|
||||||
st0016_rom_bank_w(machine,0,st0016_rom_bank);
|
const address_space *space = cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_PROGRAM);
|
||||||
|
|
||||||
|
st0016_rom_bank_w(space,0,st0016_rom_bank);
|
||||||
memset(chardirty, 1, ST0016_MAX_CHAR_BANK);
|
memset(chardirty, 1, ST0016_MAX_CHAR_BANK);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user