Previous 15994 Revisions Next

r1671 Saturday 9th February, 2008 at 13:48:01 UTC by Wilbert Pol
[GAMECOM] Fixed softreset crash. (bug #1496)
[src/mess/machine]gamecom.c

src/mess/machine/gamecom.c
r1670r1671
7272MACHINE_RESET( gamecom )
7373{
7474   memory_set_bankptr( 1, memory_region(REGION_USER1) );
75        memory_set_bankptr( 2, memory_region(REGION_USER1) );
76        memory_set_bankptr( 3, memory_region(REGION_USER1) );
77        memory_set_bankptr( 4, memory_region(REGION_USER1) );
75   memory_set_bankptr( 2, memory_region(REGION_USER1) );
76   memory_set_bankptr( 3, memory_region(REGION_USER1) );
77   memory_set_bankptr( 4, memory_region(REGION_USER1) );
7878
7979   /* should possibly go in a DRIVER_INIT piece? */
80   if ( gamecom_clock_timer == NULL ) {
81      gamecom_clock_timer = timer_alloc( gamecom_clock_timer_callback , NULL);
82   }
80   gamecom_clock_timer = timer_alloc( gamecom_clock_timer_callback , NULL);
81
8382   /* intialize the empty dummy bank */
8483   if ( dummy_bank == NULL ) {
8584      dummy_bank = auto_malloc( 8 * 1024 );

Previous 15994 Revisions Next


© 1998-2018 The MESS Team