Previous 15994 Revisions Next

r8259 Thursday 10th June, 2010 at 16:17:21 UTC by Angelo Salese
[GBA]: Fixed swapped left-right audio speakers.
[src/mess/drivers]gba.c

src/mess/drivers/gba.c
r8258r8259
288288            state->fifo_a_ptr = 0;
289289         }
290290
291         if (state->SOUNDCNT_H & 0x100)
291         if (state->SOUNDCNT_H & 0x200)
292292         {
293293            running_device *dac_device = devtag_get_device(machine, "direct_a_left");
294294
295295            dac_signed_data_w(dac_device, state->fifo_a[state->fifo_a_ptr]^0x80);
296296         }
297         if (state->SOUNDCNT_H & 0x200)
297         if (state->SOUNDCNT_H & 0x100)
298298         {
299299            running_device *dac_device = devtag_get_device(machine, "direct_a_right");
300300
r8258r8259
328328            state->fifo_b_ptr = 0;
329329         }
330330
331         if (state->SOUNDCNT_H & 0x1000)
331         if (state->SOUNDCNT_H & 0x2000)
332332         {
333333            running_device *dac_device = devtag_get_device(machine, "direct_b_left");
334334
335335            dac_signed_data_w(dac_device, state->fifo_b[state->fifo_b_ptr]^0x80);
336336         }
337         if (state->SOUNDCNT_H & 0x2000)
337         if (state->SOUNDCNT_H & 0x1000)
338338         {
339339            running_device *dac_device = devtag_get_device(machine, "direct_b_right");
340340

Previous 15994 Revisions Next


© 1998-2018 The MESS Team