X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Flinux%2F940ctl_ym2612.c;h=32e672fd9491c2ac7075025f53fb5321db62c096;hb=d2721b08bb50fd1b112befa4b9f1a918dbd1ca03;hp=403cca2cd342438326d74694a296576edd9c6621;hpb=7d4906bfc93ced40a544534f433f06b00add52b0;p=picodrive.git diff --git a/platform/linux/940ctl_ym2612.c b/platform/linux/940ctl_ym2612.c index 403cca2..32e672f 100644 --- a/platform/linux/940ctl_ym2612.c +++ b/platform/linux/940ctl_ym2612.c @@ -17,10 +17,6 @@ #include "../../Pico/PicoInt.h" -static YM2612 ym2612; - -YM2612 *ym2612_940 = &ym2612; - // static _940_data_t shared_data_; static _940_ctl_t shared_ctl_; // static _940_data_t *shared_data = &shared_data_; @@ -33,26 +29,13 @@ unsigned char *mp3_mem = 0; /***********************************************************/ -int YM2612Write_940(unsigned int a, unsigned int v) +int YM2612Write_940(unsigned int a, unsigned int v, int scanline) { YM2612Write_(a, v); return 0; // cause the engine to do updates once per frame only } -UINT8 YM2612Read_940(void) -{ - return YM2612Read_(); -} - - -int YM2612PicoTick_940(int n) -{ - YM2612PicoTick_(n); - - return 0; -} - void YM2612PicoStateLoad_940(void) { @@ -218,9 +201,3 @@ void mp3_start_play(FILE *f, int pos) // pos is 0-1023 } -int mp3_get_offset(void) -{ - return 0; -} - -