Skip to content

Commit 7f5a447

Browse files
Michel-FKVincent-FK
authored andcommitted
Correct a bug that confuses gcc 9.2
Signed-off-by: Michel-FK <[email protected]>
1 parent 309263b commit 7f5a447

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

menu/main.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,7 @@ bool8_32 S9xDeinitUpdate (int Width, int Height, bool8_32)
361361
sal_VideoFlip(0);
362362

363363
sal_VideoLock();
364+
return TRUE;
364365
}
365366

366367
const char *S9xGetFilename (const char *ex)
@@ -570,7 +571,7 @@ void S9xSaveSRAM (int showWarning)
570571

571572
bool8_32 S9xOpenSoundDevice(int a, unsigned char b, int c)
572573
{
573-
574+
return TRUE;
574575
}
575576

576577
void S9xAutoSaveSRAM (void)

0 commit comments

Comments
 (0)