- --
Viewing Issue Advanced Details
ID | Category [?] | Severity [?] | Reproducibility | Date Submitted | Last Update |
---|---|---|---|---|---|
05056 | Crash/Freeze | Critical (emulator) | Always | Nov 3, 2012, 22:03 | Aug 21, 2013, 14:56 |
Tester | Tafoid | View Status | Public | Platform | MAME (Self-compiled) |
Assigned To | Osso | Resolution | Fixed | OS | Windows XP |
Status [?] | Resolved | Driver | |||
Version | 0.147u2 | Fixed in Version | 0.150 | Build | Normal |
Fixed in Git Commit | Github Pull Request # | ||||
Summary | 05056: badlandsb, badlandsb2: Access Violation after OK | ||||
Description |
Exception at EIP=00470DB4 (badlands_state::scanline_update(screen_device&, int)+0x00b4): ACCESS VIOLATION |
||||
Steps To Reproduce | |||||
Additional Information | |||||
Github Commit | |||||
Flags | |||||
Regression Version | 0.147u2 | ||||
Affected Sets / Systems | badlandsb, badlandsb2 | ||||
Attached Files
|
badlandsb_v2.diff (1,998 bytes) Aug 1, 2013, 18:49 Uploaded by Osso Slightly better patch [Show Content] [Hide Content]diff -Nru srcold/mame/drivers/badlands.c src/mame/drivers/badlands.c --- srcold/mame/drivers/badlands.c 2013-08-01 13:40:34.000000000 +0200 +++ src/mame/drivers/badlands.c 2013-08-01 20:43:42.000000000 +0200 @@ -185,13 +185,18 @@ void badlands_state::scanline_update(screen_device &screen, int scanline) { - address_space &space = m_audiocpu->space(AS_PROGRAM); + if (m_audiocpu != 0) + { + address_space &space = m_audiocpu->space(AS_PROGRAM); - /* sound IRQ is on 32V */ - if (scanline & 32) - m_soundcomm->sound_irq_ack_r(space, 0); - else if (!(ioport("FE4000")->read() & 0x40)) - m_soundcomm->sound_irq_gen(m_audiocpu); + /* sound IRQ is on 32V */ + if (scanline & 32) + m_soundcomm->sound_irq_ack_r(space, 0); + else if (!(ioport("FE4000")->read() & 0x40)) + m_soundcomm->sound_irq_gen(m_audiocpu); + } + else + return; } @@ -443,7 +448,6 @@ INPUT_PORTS_END - /************************************* * * Graphics definitions @@ -650,6 +654,16 @@ AM_RANGE(0xfff200, 0xffffff) AM_RAM ADDRESS_MAP_END +static INPUT_PORTS_START( badlandsb ) + + PORT_INCLUDE( badlands ) + + PORT_MODIFY("AUDIO") /* audio port */ + PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNUSED ) + PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED ) + +INPUT_PORTS_END + static const gfx_layout pflayout_bootleg = { @@ -784,5 +798,5 @@ -GAME( 1989, badlandsb, badlands, badlandsb, badlands, driver_device, 0, ROT0, "bootleg (Playmark)", "Bad Lands (bootleg)", GAME_NOT_WORKING ) -GAME( 1989, badlandsb2,badlands, badlandsb, badlands, driver_device, 0, ROT0, "bootleg (Playmark)", "Bad Lands (bootleg, alternate)", GAME_NOT_WORKING ) +GAME( 1989, badlandsb, badlands, badlandsb, badlandsb, driver_device, 0, ROT0, "bootleg (Playmark)", "Bad Lands (bootleg)", GAME_NOT_WORKING ) +GAME( 1989, badlandsb2,badlands, badlandsb, badlandsb, driver_device, 0, ROT0, "bootleg (Playmark)", "Bad Lands (bootleg, alternate)", GAME_NOT_WORKING ) | ||||
Relationships
There are no relationship linked to this issue. |
Notes
4
No.09077
Osso Moderator
Nov 4, 2012, 08:39
|
Program received signal SIGSEGV, Segmentation fault. 0x000000000041e062 in device_t::memory (this=0x0) at src/emu/device.h:189 189 device_memory_interface &memory() const { assert(m_memory != NULL); return *m_memory; } (gdb) bt #0 0x000000000041e062 in device_t::memory (this=0x0) at src/emu/device.h:189 #1 0x00000000004e5e1a in badlands_state::scanline_update (this=0xcb18720, screen=..., scanline=0) at src/mame/drivers/badlands.c:189 #2 0x00000000006672a7 in atarigen_state::scanline_timer (this=0xcb18720, timer=..., screen=..., scanline=0) at src/mame/machine/atarigen.c:839 #3 0x0000000000666187 in atarigen_state::device_timer (this=0xcb18720, timer=..., id=4, param=0, ptr=0xcb1c740) at src/mame/machine/atarigen.c:245 #4 0x0000000002c048aa in device_t::timer_expired (this=0xcb18720, timer=..., id=4, param=0, ptr=0xcb1c740) at src/emu/device.h:231 #5 0x0000000002c04381 in device_scheduler::execute_timers ( this=0x7fffffffda28) at src/emu/schedule.c:910 #6 0x0000000002c030d7 in device_scheduler::timeslice (this=0x7fffffffda28) at src/emu/schedule.c:429 #7 0x0000000002b9bf4c in running_machine::run (this=0x7fffffff7fb0, firstrun=true) at src/emu/machine.c:393 #8 0x0000000002b997e4 in mame_execute (options=..., osd=...) at src/emu/mame.c:190 #9 0x0000000002ac2620 in cli_frontend::execute (this=0x7fffffffde10, argc=3, argv=0x7fffffffe168) at src/emu/clifront.c:254 #10 0x00000000022bc5f7 in main (argc=3, argv=0x7fffffffe168) at src/osd/sdl/sdlmain.c:369 |
---|---|
No.09321
Firewave Senior Tester
Feb 9, 2013, 14:12
|
This crashes since badlandsb and badlandsb2 don't have a "audiocpu" device. |
No.09672
Tafoid Administrator
Jul 25, 2013, 18:12
|
Currently states:Unable to locate device 'soundcomm' relative to ':' |
No.09696
Osso Moderator
Aug 1, 2013, 18:34
|
The attached patch brings the bootlegs to the same state they were in 0.147u1. |