Previous 15994 Revisions Next

r7401 Wednesday 17th February, 2010 at 20:00:12 UTC by Firewave
[GBA] removed duplicated device lookup
[src/mess/drivers]gba.c

src/mess/drivers/gba.c
r7400r7401
14461446            running_device *gb_a_r = devtag_get_device(machine, "direct_a_right");
14471447            running_device *gb_b_l = devtag_get_device(machine, "direct_b_left");
14481448            running_device *gb_b_r = devtag_get_device(machine, "direct_b_right");
1449            running_device *gb_device = devtag_get_device(space->machine, "custom");
14501449
14511450            gb_sound_w(gb_device, 0x16, data);
14521451            if ((data & 0x80) && !(gba_state->SOUNDCNT_X & 0x80))

Previous 15994 Revisions Next


© 1998-2018 The MESS Team