mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
Add hack for LEGO racers course map:
copy RDRAM content to new buffer. Fixed issue #314
This commit is contained in:
parent
ebc5d5bef3
commit
9a556978ba
1
Config.h
1
Config.h
|
@ -99,6 +99,7 @@ struct Config
|
|||
#define hack_scoreboard (1<<3) //Copy data from RDRAM to auxilary frame buffer. Scoreboard in Mario Tennis.
|
||||
#define hack_pilotWings (1<<4) //Special blend mode for PilotWings.
|
||||
#define hack_subscreen (1<<5) //Fix subscreen delay in Zelda OOT
|
||||
#define hack_legoRacers (1<<6) //LEGO racers course map
|
||||
|
||||
extern Config config;
|
||||
|
||||
|
|
|
@ -417,7 +417,7 @@ void FrameBufferList::saveBuffer(u32 _address, u16 _format, u16 _size, u16 _widt
|
|||
);
|
||||
#endif
|
||||
|
||||
if (bMarioTennisScoreboard)
|
||||
if (bMarioTennisScoreboard || ((config.generalEmulation.hacks & hack_legoRacers) != 0 && bNew && _width == VI.width))
|
||||
g_RDRAMtoFB.CopyFromRDRAM(m_pCurrent->m_startAddress + 4, false);
|
||||
|
||||
m_pCurrent->m_isDepthBuffer = _address == gDP.depthImageAddress;
|
||||
|
|
3
RSP.cpp
3
RSP.cpp
|
@ -327,7 +327,8 @@ void RSP_Init()
|
|||
strstr(RSP.romname, (const char *)"ZELDA MASTER QUEST") != NULL
|
||||
)
|
||||
config.generalEmulation.hacks |= hack_subscreen;
|
||||
|
||||
else if (strstr(RSP.romname, (const char *)"LEGORacers") != NULL)
|
||||
config.generalEmulation.hacks |= hack_legoRacers;
|
||||
|
||||
api().FindPluginPath(RSP.pluginpath);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user