Silence warnings and fixes

- Silence warning [-Wmaybe-uninitialized]
- m359: Fix value overflow
- m534: Silence warnings
- mmc1: Silence warnings
- Silence more warnings
This commit is contained in:
negativeExponent
2020-02-17 10:11:55 +08:00
parent ddb1fe786a
commit f9fb33d8e8
9 changed files with 19 additions and 27 deletions

View File

@@ -396,7 +396,7 @@ void FCEU_MemoryRand(uint8 *ptr, uint32 size)
*ptr = (x & 1) ? 0x55 : 0xAA; /* F-15 Sity War HISCORE is screwed... */
/* 1942 SCORE/HISCORE is screwed... */
#endif
uint8_t v;
uint8_t v = 0;
switch (option_ramstate)
{
case 0: v = 0xff; break;