X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=pico%2Fpico_int.h;h=6b062b6a04641cd7560284e9f2fd0fac087bae50;hb=8ce9c3a782e47ed355a12789859e5359c4a81e77;hp=e71245a8dee75ba1addaef40c45bea8a7993ed28;hpb=9e1fa0a6cf997b9e4ad38a532d6a9628253fefa7;p=picodrive.git diff --git a/pico/pico_int.h b/pico/pico_int.h index e71245a..6b062b6 100644 --- a/pico/pico_int.h +++ b/pico/pico_int.h @@ -482,8 +482,9 @@ typedef struct #define P32XP_FULL (1<<15) // PWM pulse #define P32XP_EMPTY (1<<14) -#define P32XF_68KCPOLL (1 << 0) -#define P32XF_68KVPOLL (1 << 1) +#define P32XF_68KCPOLL (1 << 0) +#define P32XF_68KVPOLL (1 << 1) +#define P32XF_Z80_32X_IO (1 << 7) // z80 does 32x io #define P32XI_VRES (1 << 14/2) // IRL/2 #define P32XI_VINT (1 << 12/2) @@ -547,7 +548,8 @@ struct Pico32xMem unsigned short pal[0x100]; unsigned short pal_native[0x100]; // converted to native (for renderer) signed short pwm[2*PWM_BUFF_LEN]; // PWM buffer for current frame - signed short pwm_fifo[2][4]; // [0] - current, others - fifo entries + signed short pwm_current[2]; // current converted samples + unsigned short pwm_fifo[2][4]; // [0] - current raw, others - fifo entries }; // area.c