Update virtual boy core with a mednafen 1.27.1 fix.
This commit is contained in:
parent
02cd2f47f3
commit
90a12a8e73
Binary file not shown.
|
@ -10,7 +10,7 @@ using System.Linq;
|
|||
|
||||
namespace BizHawk.Emulation.Cores.Consoles.Nintendo.VB
|
||||
{
|
||||
[PortedCore(CoreNames.VirtualBoyee, "Mednafen Team", "0.9.44.1", "https://mednafen.github.io/releases/")]
|
||||
[PortedCore(CoreNames.VirtualBoyee, "Mednafen Team", portedUrl: "https://mednafen.github.io/releases/")]
|
||||
public class VirtualBoyee : WaterboxCore, ISettable<VirtualBoyee.Settings, VirtualBoyee.SyncSettings>
|
||||
{
|
||||
private readonly LibVirtualBoyee _boyee;
|
||||
|
|
|
@ -77,9 +77,13 @@ void VSU::Power(void)
|
|||
LatcherClockDivider[ch] = 120;
|
||||
}
|
||||
|
||||
ModWavePos = 0;
|
||||
|
||||
NoiseLatcherClockDivider = 120;
|
||||
NoiseLatcher = 0;
|
||||
|
||||
lfsr = 0;
|
||||
|
||||
memset(WaveData, 0, sizeof(WaveData));
|
||||
memset(ModData, 0, sizeof(ModData));
|
||||
|
||||
|
@ -88,6 +92,11 @@ void VSU::Power(void)
|
|||
|
||||
void VSU::Write(int32 timestamp, uint32 A, uint8 V)
|
||||
{
|
||||
if(A & 0x3)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
A &= 0x7FF;
|
||||
|
||||
Update(timestamp);
|
||||
|
|
Loading…
Reference in New Issue