X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Fgp2x%2Fcode940%2F940.c;fp=platform%2Fgp2x%2Fcode940%2F940.c;h=18d282cb782bad33df14b6ffac7617c7dd04af9a;hb=7a93adeb29f01f5867ff36606cd73a382b6ee0e3;hp=3f7130aa74ebf9b20b8d57f42c22bfb2a7d70e75;hpb=1cd356a33daf2eec34e52c075b06d62866f5fb2f;p=picodrive.git diff --git a/platform/gp2x/code940/940.c b/platform/gp2x/code940/940.c index 3f7130a..18d282c 100644 --- a/platform/gp2x/code940/940.c +++ b/platform/gp2x/code940/940.c @@ -4,7 +4,6 @@ static _940_data_t *shared_data = (_940_data_t *) 0x00100000; static _940_ctl_t *shared_ctl = (_940_ctl_t *) 0x00200000; static unsigned char *mp3_data = (unsigned char *) 0x01000000; YM2612 *ym2612_940; -int *mix_buffer; // from init.s void wait_irq(void); @@ -59,8 +58,8 @@ static void mp3_decode(void) void Main940(int startvector, int pc_at_irq) { + int mix_buffer = shared_data->mix_buffer; ym2612_940 = &shared_data->ym2612; - mix_buffer = shared_data->mix_buffer; // debug shared_ctl->vstarts[startvector]++;