mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-18 19:28:36 +00:00
Fix the palette loading fix to not crash MP2
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1009 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
c18bcca4a8
commit
39abe6a9a3
@ -276,6 +276,7 @@ THREAD_RETURN EmuThread(void *pArg)
|
||||
VideoInitialize.pUpdateInterrupts = &(CommandProcessor::UpdateInterruptsFromVideoPlugin);
|
||||
VideoInitialize.pMemoryBase = Memory::base;
|
||||
VideoInitialize.pKeyPress = Callback_KeyPress;
|
||||
VideoInitialize.bWii = _CoreParameter.bWii;
|
||||
PluginVideo::Video_Initialize(&VideoInitialize);
|
||||
|
||||
// Under linux, this is an X11 Display, not an HWND!
|
||||
|
@ -906,7 +906,10 @@ u8 *GetPointer(const u32 _Address)
|
||||
case 0xD1:
|
||||
case 0xD2:
|
||||
case 0xD3:
|
||||
return (u8*)(((char*)m_pEXRAM) + (_Address&EXRAM_MASK));
|
||||
if (Core::GetStartupParameter().bWii)
|
||||
return (u8*)(((char*)m_pEXRAM) + (_Address&EXRAM_MASK));
|
||||
else
|
||||
return 0;
|
||||
|
||||
case 0xE0:
|
||||
if (_Address < (0xE0000000 + L1_CACHE_SIZE))
|
||||
|
Loading…
x
Reference in New Issue
Block a user