mirror of
https://github.com/libretro/beetle-pce-fast-libretro.git
synced 2024-11-26 17:40:40 +00:00
Apply Workaround for Order of Griffon issue
This commit is contained in:
parent
e442644e36
commit
236f9bda4e
@ -220,6 +220,9 @@ static int Load(const char *name, MDFNFILE *fp)
|
||||
|
||||
HuCLoad(GET_FDATA_PTR(fp) + headerlen, GET_FSIZE_PTR(fp) - headerlen);
|
||||
|
||||
if(crc = 0xfae0fc60)
|
||||
OrderOfGriffonFix = true;
|
||||
|
||||
return(LoadCommon());
|
||||
}
|
||||
|
||||
|
@ -812,6 +812,14 @@ void VDC_RunFrame(EmulateSpecStruct *espec, bool IsHES)
|
||||
if(!skip)
|
||||
{
|
||||
DisplayRect->x = 0;
|
||||
|
||||
// Order of Griffon semi-hack
|
||||
if (OrderOfGriffonFix)
|
||||
{
|
||||
// Force to use specified width to fit status bar inside frame.
|
||||
defined_width[0] = defined_width[1] = 320;
|
||||
}
|
||||
|
||||
DisplayRect->w = defined_width[vce.dot_clock];
|
||||
}
|
||||
|
||||
|
@ -31,6 +31,7 @@ int setting_pce_fast_adpcmvolume = 100;
|
||||
int setting_pce_fast_cdpsgvolume = 100;
|
||||
uint32_t setting_pce_fast_cdspeed = 1;
|
||||
std::string setting_pce_fast_cdbios = "syscard3.pce";
|
||||
bool OrderOfGriffonFix = false;
|
||||
|
||||
uint64 MDFN_GetSettingUI(const char *name)
|
||||
{
|
||||
|
@ -13,6 +13,7 @@ extern int setting_pce_fast_adpcmvolume;
|
||||
extern int setting_pce_fast_cdpsgvolume;
|
||||
extern uint32_t setting_pce_fast_cdspeed;
|
||||
extern std::string setting_pce_fast_cdbios;
|
||||
extern bool OrderOfGriffonFix;
|
||||
|
||||
// This should assert() or something if the setting isn't found, since it would
|
||||
// be a totally tubular error!
|
||||
|
Loading…
Reference in New Issue
Block a user