#include "cart.h"
#include "input.h"
+#include "vsuni.h"
+
FCEUS FSettings;
static int howlong;
FSettings.GameGenie=a?1:0;
}
-static void CalculatePalette(void);
-static void ChoosePalette(void);
-static void WritePalette(void);
-
#ifndef NETWORK
#define netplay 0
#endif
//uint8 vsdip=0;
//int coinon=0;
-uint8 pale=0;
+//uint8 pale=0;
uint8 CommandQueue=0;
static int controlselect=0;
static int ntschue=72;
static int controllength=0;
+#if 0
pal *palo;
static pal *palpoint[8]=
{
palettevseb,
rp2c04001
};
+#endif
void FCEUI_SetSnapName(int a)
{
FSettings.SUnderBase=a;
}
+#if 0
void FCEUI_SetPaletteArray(uint8 *pal)
{
if(!pal)
}
FCEU_ResetPalette();
}
+#endif
void FCEUI_SelectState(int w)
{
case DES_VSUNICOIN:CommandQueue=19;break;
case DES_NTSCSELHUE:if(ntsccol && FCEUGameInfo.type!=GIT_VSUNI && !PAL && FCEUGameInfo.type!=GIT_NSF){controlselect=1;controllength=360;}break;
case DES_NTSCSELTINT:if(ntsccol && FCEUGameInfo.type!=GIT_VSUNI && !PAL && FCEUGameInfo.type!=GIT_NSF){controlselect=2;controllength=360;}break;
-
+#if 0
case DES_NTSCDEC:
if(ntsccol && FCEUGameInfo.type!=GIT_VSUNI && !PAL && FCEUGameInfo.type!=GIT_NSF)
{
controllength=360;
}
break;
+#endif
}
}
+#if 0
static uint8 lastd=0;
void SetNESDeemph(uint8 d, int force)
{
}
WritePalette();
}
+#endif
#include "drawing.h"
#ifdef FRAMESKIP
ReallySnap();
dosnapsave=0;
}
- if(FCEUGameInfo.type==GIT_VSUNI && DIPS&2)
- DrawDips();
- if(StateShow) DrawState();
- if(controllength) {controllength--;DrawBars();}
+ if(FCEUGameInfo.type==GIT_VSUNI)
+ FCEU_VSUniDraw(XBuf);
+ //if(StateShow) DrawState();
+
+ //FCEU_DrawSaveStates(XBuf);
+ //FCEU_DrawMovies(XBuf);
+ //FCEU_DrawNTSCControlBars(XBuf);
+ //FCEU_DrawRecordingStatus(XBuf);
+
+ //if(controllength) {controllength--;DrawBars();}
}
DrawMessage();
#ifdef FPS
DrawInput(XBuf+8);
}
+#if 0
static int ipalette=0;
void LoadGamePalette(void)
}
}
-#if 0
void FlushCommandQueue(void)
{
if(!netplay && CommandQueue) {DoCommand(CommandQueue);CommandQueue=0;}