Merge pull request #113 from retro-wertz/update

Cleanup
This commit is contained in:
Twinaphex
2017-05-08 04:18:33 +02:00
committed by GitHub
4 changed files with 5 additions and 4 deletions

View File

@@ -261,7 +261,7 @@ void FASTAPASS(2) setchr8r(int r, uint32 V) {
if (CHRram[r])
PPUCHRRAM |= (255);
else
PPUCHRRAM &= ~(255);
PPUCHRRAM &= 0;
}
void FASTAPASS(2) setchr1(uint32 A, uint32 V) {

View File

@@ -40,6 +40,7 @@ void FCEUD_GetPalette(uint8 i, uint8 *r, uint8 *g, uint8 *b);
/* Displays an error. Can block or not. */
void FCEUD_PrintError(char *s);
void FCEUD_Message(char *s);
void FCEUD_DispMessage(char *m);
#ifdef NETWORK
/* Network interface */

View File

@@ -90,7 +90,7 @@ static void iNESGI(int h) {
break;
case GI_CLOSE:
{
FCEU_SaveGameSave(&iNESCart);
/* FCEU_SaveGameSave(&iNESCart); */
if (iNESCart.Close)
iNESCart.Close();
if (ROM) {
@@ -793,7 +793,7 @@ int iNESLoad(const char *name, FCEUFILE *fp) {
if (!iNES_Init(MapperNo))
FCEU_PrintError("iNES mapper #%d is not supported at all.", MapperNo);
FCEU_LoadGameSave(&iNESCart);
/* FCEU_LoadGameSave(&iNESCart); */
GameInterface = iNESGI;
FCEU_printf("\n");

View File

@@ -952,7 +952,7 @@ int FlushEmulateSound(void) {
}
inbuf = end;
FCEU_WriteWaveData(WaveFinal, end); /* This function will just return
/* FCEU_WriteWaveData(WaveFinal, end); This function will just return
if sound recording is off. */
return(end);
}