void NSFMMC5_Close(void);\r
static uint8 *ExWRAM=0;\r
\r
-void NSFGI(int h)\r
+void NSFGI(int h, void *param)\r
{\r
switch(h)\r
{\r
break;\r
case GI_RESETM2:\r
case GI_POWER: NSF_init();break;\r
+ case GI_INFOSTRING:\r
+ sprintf(param, "NSF, %s", PAL?"PAL":"NTSC");\r
+ break;\r
}\r
}\r
\r
void DrawNSF(uint8 *XBuf)\r
{\r
char snbuf[16];\r
+ int32 mul=0;\r
int x;\r
\r
if(vismode==0) return;\r
for (x=0;x<240;x++)\r
memset(XBuf+SCREEN_OFFS+x*SCREEN_WIDTH,0,256);\r
\r
+ if(FSettings.SoundVolume)\r
+ mul=8192*240/(16384*FSettings.SoundVolume/50);\r
+\r
{\r
- int32 *Bufpl;\r
- int32 mul=0;\r
+ int16 *Bufpl;\r
\r
int l;\r
l=GetSoundBuffer(&Bufpl);\r
\r
if(special==0)\r
{\r
- if(FSettings.SoundVolume)\r
- mul=8192*240/(16384*FSettings.SoundVolume/50);\r
for(x=0;x<256;x++)\r
{\r
uint32 y;\r
}\r
else if(special==1)\r
{\r
- if(FSettings.SoundVolume)\r
- mul=8192*240/(8192*FSettings.SoundVolume/50);\r
for(x=0;x<256;x++)\r
{\r
double r;\r
else if(special==2)\r
{\r
static double theta=0;\r
- if(FSettings.SoundVolume)\r
- mul=8192*240/(16384*FSettings.SoundVolume/50);\r
for(x=0;x<128;x++)\r
{\r
double xc,yc;\r