From 8deefc3beffb9395438850ec3d9a262229201def Mon Sep 17 00:00:00 2001 From: negativeExponent Date: Tue, 17 Nov 2020 06:47:45 +0800 Subject: [PATCH] Fix warning --- src/boards/401.c | 2 +- src/ines.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/boards/401.c b/src/boards/401.c index 067849b..75cb508 100644 --- a/src/boards/401.c +++ b/src/boards/401.c @@ -92,5 +92,5 @@ void Mapper401_Init(CartInfo *info) { info->Power = M401Power; info->Reset = M401Reset; AddExState(EXPREGS, 5, 0, "EXPR"); - AddExState(dipswitch, 1, 0, "DPSW"); + AddExState(&dipswitch, 1, 0, "DPSW"); } diff --git a/src/ines.c b/src/ines.c index e946c91..9c23c7e 100644 --- a/src/ines.c +++ b/src/ines.c @@ -386,7 +386,6 @@ static void CheckHInfo(void) { } } strcat(gigastr, "\n"); - FCEU_printf("\n", gigastr); FCEU_printf("%s\n", gigastr); }