A7800: Fix unplugged controller and Pokey sound
This commit is contained in:
parent
7ff08fb63e
commit
77bba444fd
|
@ -383,7 +383,7 @@ namespace BizHawk.Emulation.Cores.Atari.A7800Hawk
|
||||||
pokey.GetSamples(ret2);
|
pokey.GetSamples(ret2);
|
||||||
for (int i = 0; i < _spf * 2; i ++)
|
for (int i = 0; i < _spf * 2; i ++)
|
||||||
{
|
{
|
||||||
ret[i] += ret2[i];
|
ret[i] += (short)(ret2[i] * 3);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,10 @@ namespace BizHawk.Emulation.Cores.Atari.A7800Hawk
|
||||||
PortNum = portNum;
|
PortNum = portNum;
|
||||||
Definition = new ControllerDefinition
|
Definition = new ControllerDefinition
|
||||||
{
|
{
|
||||||
BoolButtons = new List<string>()
|
Name = "Unplugged Controller",
|
||||||
|
BoolButtons = BaseDefinition
|
||||||
|
.Select(b => "P" + PortNum + " " + b)
|
||||||
|
.ToList()
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -71,6 +74,11 @@ namespace BizHawk.Emulation.Cores.Atari.A7800Hawk
|
||||||
|
|
||||||
public ControllerDefinition Definition { get; }
|
public ControllerDefinition Definition { get; }
|
||||||
|
|
||||||
|
private static readonly string[] BaseDefinition =
|
||||||
|
{
|
||||||
|
""
|
||||||
|
};
|
||||||
|
|
||||||
public void SyncState(Serializer ser)
|
public void SyncState(Serializer ser)
|
||||||
{
|
{
|
||||||
// Do nothing
|
// Do nothing
|
||||||
|
|
Loading…
Reference in New Issue