mirror of
https://github.com/libretro/libretro-fceumm.git
synced 2024-12-28 03:45:48 +00:00
C89 buildfix
This commit is contained in:
parent
f1d7589586
commit
7e7565ec1d
@ -3,6 +3,8 @@ uint8 cc;
|
||||
uint32 vadr;
|
||||
#ifdef PPU_VRC5FETCH
|
||||
uint8 tmpd;
|
||||
extern uint8 *VROM;
|
||||
extern uint32 VROM_size;
|
||||
#endif
|
||||
|
||||
#ifndef PPUT_MMC5SP
|
||||
@ -86,12 +88,9 @@ pshift[1] <<= 8;
|
||||
C = MMC5BGVRAMADR(vadr);
|
||||
#else
|
||||
#ifdef PPU_VRC5FETCH
|
||||
extern uint8 *VROM;
|
||||
extern uint32 VROM_size;
|
||||
if (tmpd & 0x40) {
|
||||
if ((VROM_size * 8) == 128) {
|
||||
if ((VROM_size * 8) == 128)
|
||||
vadr = ((vadr & 0x07) << 1) | ((vadr & 0x10) >> 4) | ((vadr & 0x3FFE0) >> 1);
|
||||
}
|
||||
C = VROM + vadr;
|
||||
} else {
|
||||
C = VRAMADR(vadr);
|
||||
|
Loading…
Reference in New Issue
Block a user