Remove wrong #ifdef decleration
#ifdef __libretro__ is incorrect and function has worked fine without it.
This commit is contained in:
parent
3791b0a07f
commit
3c0e88bcdf
|
@ -131,11 +131,7 @@ static inline uint32_t CPUReadMemory(uint32_t address)
|
||||||
case 14:
|
case 14:
|
||||||
case 15:
|
case 15:
|
||||||
if (cpuFlashEnabled | cpuSramEnabled) { // no need to swap this
|
if (cpuFlashEnabled | cpuSramEnabled) { // no need to swap this
|
||||||
#ifdef __libretro__
|
|
||||||
return flashRead(address);
|
|
||||||
#else
|
|
||||||
value = flashRead(address) * 0x01010101;
|
value = flashRead(address) * 0x01010101;
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
// default
|
// default
|
||||||
|
@ -287,14 +283,9 @@ static inline uint32_t CPUReadHalfWord(uint32_t address)
|
||||||
goto unreadable;
|
goto unreadable;
|
||||||
case 14:
|
case 14:
|
||||||
case 15:
|
case 15:
|
||||||
if (cpuFlashEnabled | cpuSramEnabled)
|
if (cpuFlashEnabled | cpuSramEnabled) {
|
||||||
// no need to swap this
|
// no need to swap this
|
||||||
{
|
|
||||||
#ifdef __libretro__
|
|
||||||
return flashRead(address);
|
|
||||||
#else
|
|
||||||
value = flashRead(address) * 0x0101;
|
value = flashRead(address) * 0x0101;
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
// default
|
// default
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue