Skip to content

Commit ff756b7

Browse files
author
Chris Lenfert
committed
Enable Super Dodge Ball 4-player: add CRC detection and auto-configure Famicom expansion
1 parent f69165b commit ff756b7

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

source/fceultra/ines.cpp

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -232,27 +232,15 @@ static void SetInput(void) {
232232

233233
int x = 0;
234234

235-
char msg[100];
236-
sprintf(msg, "CRC: %08x", iNESGameCRC32);
237-
FCEU_DispMessage(msg, 0);
238-
239-
FCEU_printf("SetInput called, ROM CRC32: 0x%08x\n", iNESGameCRC32);
240-
241235
while (moo[x].input1 >= 0 || moo[x].input2 >= 0 || moo[x].inputfc >= 0) {
242236
if (moo[x].crc32 == iNESGameCRC32) {
243-
FCEU_printf("MATCH FOUND! Setting inputfc to %d\n", moo[x].inputfc);
244-
FCEUI_DispMessage("===CRC MATCH!===", 0);
245237
GameInfo->input[0] = moo[x].input1;
246238
GameInfo->input[1] = moo[x].input2;
247239
GameInfo->inputfc = moo[x].inputfc;
248240
break;
249241
}
250242
x++;
251243
}
252-
253-
sprintf(msg, "fc=%d (1=ARKANOID 3=4PLAYER)", GameInfo->inputfc);
254-
FCEUI_DispMessage(msg, 0);
255-
FCEU_printf("After SetInput, GameInfo->inputfc = %d\n", GameInfo->inputfc);
256244
}
257245

258246
struct INPSEL_NES20 {

0 commit comments

Comments
 (0)