Add core option to choose between absolute and relative zapper modes

This commit is contained in:
retro-wertz
2017-09-16 17:32:05 +08:00
parent 3171bddeae
commit 8b41b3ff14
3 changed files with 54 additions and 18 deletions

View File

@@ -36,6 +36,7 @@
#include "vsuni.h"
uint8 *XBuf = NULL;
int show_crosshair = 0;
void FCEU_KillVirtualVideo(void)
{
@@ -74,7 +75,8 @@ void FCEU_PutImage(void)
FCEU_VSUniDraw(XBuf);
}
if (howlong) howlong--;
FCEU_DrawInput(XBuf);
if (show_crosshair)
FCEU_DrawInput(XBuf);
}
void FCEU_PutImageDummy(void)