X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=fceu.git;a=blobdiff_plain;f=input.h;h=7c0da5995a887dc5ab472ddc8216dd2e4365de9b;hp=daaa304fc4154b3186648cce7f5c14d20d4c3aed;hb=e328100eecae3adfce1c3b57364bee5d166217ef;hpb=f12b1f316ca070bda860108b4e3901628d1a8398 diff --git a/input.h b/input.h index daaa304..7c0da59 100644 --- a/input.h +++ b/input.h @@ -3,7 +3,7 @@ typedef struct { void FP_FASTAPASS(1) (*Write)(uint8 v); void FP_FASTAPASS(1) (*Strobe)(int w); void FP_FASTAPASS(3) (*Update)(int w, void *data, int arg); - void FP_FASTAPASS(3) (*SLHook)(int w, uint8 *buf, int line); + void FP_FASTAPASS(3) (*SLHook)(int w, uint8 *bg, uint8 *spr, uint32 linets, int final); void FP_FASTAPASS(3) (*Draw)(int w, uint8 *buf, int arg); } INPUTC; @@ -12,7 +12,7 @@ typedef struct { void FP_FASTAPASS(1) (*Write)(uint8 v); void (*Strobe)(void); void FP_FASTAPASS(2) (*Update)(void *data, int arg); - void FP_FASTAPASS(2) (*SLHook)(uint8 *buf, int line); + void FP_FASTAPASS(3) (*SLHook)(uint8 *bg, uint8 *spr, uint32 linets, int final); void FP_FASTAPASS(2) (*Draw)(uint8 *buf, int arg); } INPUTCFC; @@ -20,7 +20,7 @@ void DrawInput(uint8 *buf); void UpdateInput(void); void InitializeInput(void); extern void (*PStrobe[2])(void); -extern void (*InputScanlineHook)(uint8 *buf, int line); +extern void (*InputScanlineHook)(uint8 *bg, uint8 *spr, uint32 linets, int final); #define FCEUNPCMD_RESET 0x01 #define FCEUNPCMD_POWER 0x02