X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=fceu.git;a=blobdiff_plain;f=svga.c;h=fb086bf1b2dea7ff0e59d3443c6803a2b39d36e8;hp=d00a38a9f5706b83205ff49cb34cf387347fde5e;hb=0d6a66c2a80f50ae51327cd406f9df14d99ad02e;hpb=21afaa365c97896da6ccbdd6540e20f2d2bb4990 diff --git a/svga.c b/svga.c index d00a38a..fb086bf 100644 --- a/svga.c +++ b/svga.c @@ -82,6 +82,11 @@ void FCEU_DispMessage(char *format, ...) printf("%s\n", errmsg); } +void FCEU_CancelDispMessage(void) +{ + howlong=0; +} + void FCEUI_SetRenderedLines(int ntscf, int ntscl, int palf, int pall) { FSettings.UsrFirstSLine[0]=ntscf; @@ -205,7 +210,7 @@ void DriverInterface(int w, void *d) case DES_RESET:if(netplay!=2) CommandQueue=30;break; case DES_POWER:if(netplay!=2) CommandQueue=31;break; - case DES_VSUNIDIPSET:CommandQueue=10+(int)d;break; + case DES_VSUNIDIPSET:CommandQueue=10+(long)d;break; case DES_VSUNITOGGLEDIPVIEW:CommandQueue=10;break; case DES_VSUNICOIN:CommandQueue=19;break; #if 0