X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Pico%2FPico.h;h=8caf109ad41189a464b7e0d3945b551940d2a6e5;hb=4609d0cdb87fcdd5f419153d7a76e2b06242b294;hp=3714ad1200ce318c72f8f80cd3f4f723762bcb42;hpb=582890c000105f81c34c88d18924f7a3dc3b66b2;p=picodrive.git diff --git a/Pico/Pico.h b/Pico/Pico.h index 3714ad1..8caf109 100644 --- a/Pico/Pico.h +++ b/Pico/Pico.h @@ -67,8 +67,9 @@ void PicoFrameDrawOnly(void); extern int PicoPad[2]; // Joypads, format is MXYZ SACB RLDU extern void (*PicoWriteSound)(int len); // called once per frame at the best time to send sound buffer (PsndOut) to hardware extern void (*PicoMessage)(const char *msg); // callback to output text message from emu -typedef enum { PS_PAL, PS_40_CELL, PS_240_LINES } pstat_t; -int PicoGetStat(pstat_t which); +typedef enum { PI_ROM, PI_ISPAL, PI_IS40_CELL, PI_IS240_LINES } pint_t; +typedef union { int vint; void *vptr; } pint_ret_t; +void PicoGetInternal(pint_t which, pint_ret_t *ret); // cd/Pico.c extern void (*PicoMCDopenTray)(void);