mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-11 08:39:13 +01:00
Stop Story Mode in F-Zero GX from crashing. Story mode still doesn't work though, it just stops.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4862 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
b84a1823b2
commit
b61b04352e
@ -53,6 +53,7 @@ extern u8 *base;
|
||||
|
||||
// These are guarenteed to point to "low memory" addresses (sub-32-bit).
|
||||
extern u8 *m_pRAM;
|
||||
extern u8 *m_pEXRAM;
|
||||
extern u8 *m_pL1Cache;
|
||||
|
||||
enum
|
||||
|
@ -164,9 +164,9 @@ inline void ReadFromHardware(T &_var, u32 em_address, u32 effective_address, Mem
|
||||
{
|
||||
_var = bswap((*(const T*)&m_pRAM[em_address & RAM_MASK]));
|
||||
}
|
||||
else if (((em_address & 0xF0000000) == 0x90000000) ||
|
||||
else if (m_pEXRAM && (((em_address & 0xF0000000) == 0x90000000) ||
|
||||
((em_address & 0xF0000000) == 0xD0000000) ||
|
||||
((em_address & 0xF0000000) == 0x10000000))
|
||||
((em_address & 0xF0000000) == 0x10000000)))
|
||||
{
|
||||
_var = bswap((*(const T*)&m_pEXRAM[em_address & EXRAM_MASK]));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user