[Gambatte] fix cart bus pullup settings display

This commit is contained in:
CasualPokePlayer 2021-11-03 22:52:27 -07:00
parent 178e57a91b
commit 7c38ff7452
2 changed files with 2 additions and 2 deletions

View File

@ -128,7 +128,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.Gameboy
[DisplayName("Cart Bus Pull-Up Time")]
[Description("Time it takes for the cart bus to pull-up to 0xFF in CPU cycles. Used to account for differences in pull-up times between carts/consoles.")]
[DefaultValue(8)]
public uint CartBusPullUpTime { get; set; }
public int CartBusPullUpTime { get; set; }
[DisplayName("Realtime RTC")]
[Description("If true, the real time clock in MBC3 and HuC3 games will reflect real time, instead of emulated time. Ignored (treated as false) when a movie is recording.")]

View File

@ -196,7 +196,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.Gameboy
LibGambatte.gambatte_setrtcdivisoroffset(GambatteState, _syncSettings.RTCDivisorOffset);
LibGambatte.gambatte_setcartbuspulluptime(GambatteState, _syncSettings.CartBusPullUpTime);
LibGambatte.gambatte_setcartbuspulluptime(GambatteState, (uint)_syncSettings.CartBusPullUpTime);
_cdCallback = new LibGambatte.CDCallback(CDCallbackProc);