mirror of https://github.com/bsnes-emu/bsnes.git
Fix PAL SGB in the Cocoa port
This commit is contained in:
parent
e08df2a089
commit
a13469c4e2
|
@ -237,8 +237,13 @@ static void infraredStateChanged(GB_gameboy_t *gb, bool on)
|
|||
case MODEL_CGB:
|
||||
return (GB_model_t)[[NSUserDefaults standardUserDefaults] integerForKey:@"GBCGBModel"];
|
||||
|
||||
case MODEL_SGB:
|
||||
return (GB_model_t)[[NSUserDefaults standardUserDefaults] integerForKey:@"GBSGBModel"];
|
||||
case MODEL_SGB: {
|
||||
GB_model_t model = (GB_model_t)[[NSUserDefaults standardUserDefaults] integerForKey:@"GBSGBModel"];
|
||||
if (model == (GB_MODEL_SGB | GB_MODEL_PAL_BIT_OLD)) {
|
||||
model = GB_MODEL_SGB_PAL;
|
||||
}
|
||||
return model;
|
||||
}
|
||||
|
||||
case MODEL_AGB:
|
||||
return GB_MODEL_AGB;
|
||||
|
|
|
@ -396,7 +396,7 @@
|
|||
<menu key="menu" autoenablesItems="NO" id="czw-Hi-jyM">
|
||||
<items>
|
||||
<menuItem title="Super Game Boy (NTSC)" state="on" tag="4" id="x5A-7f-ef9"/>
|
||||
<menuItem title="Super Game Boy (PAL)" tag="4100" id="Cix-n2-l4L"/>
|
||||
<menuItem title="Super Game Boy (PAL)" tag="68" id="Cix-n2-l4L"/>
|
||||
<menuItem title="Super Game Boy 2" tag="257" id="gZG-1g-KF0"/>
|
||||
</items>
|
||||
</menu>
|
||||
|
|
Loading…
Reference in New Issue