X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=fceu.git;a=blobdiff_plain;f=svga.c;h=fb086bf1b2dea7ff0e59d3443c6803a2b39d36e8;hp=5ac1d7023215f959ff7ca672a89b92818b866603;hb=0d6a66c2a80f50ae51327cd406f9df14d99ad02e;hpb=ebde7d27f12cb4e1002670fd481076fb9ba509ff diff --git a/svga.c b/svga.c index 5ac1d70..fb086bf 100644 --- a/svga.c +++ b/svga.c @@ -210,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