A2600: fix AUDC 2 audio
This commit is contained in:
parent
d58c5d7e8a
commit
78615095f2
|
@ -125,10 +125,9 @@ namespace BizHawk.Emulation.Cores.Atari.Atari2600
|
||||||
Run5_L();
|
Run5_L();
|
||||||
break;
|
break;
|
||||||
case 0x02:
|
case 0x02:
|
||||||
if (((sr5_L & 0x0f) == 0) || ((sr5_L & 0x0f) == 0x0f))
|
if ((sr5_L == 31) || (sr5_L == 16))
|
||||||
{
|
{
|
||||||
on_L = Run4_L();
|
on_L = Run4_L();
|
||||||
Run5_L();
|
|
||||||
}
|
}
|
||||||
Run5_L();
|
Run5_L();
|
||||||
break;
|
break;
|
||||||
|
@ -153,11 +152,11 @@ namespace BizHawk.Emulation.Cores.Atari.Atari2600
|
||||||
case 0x06:
|
case 0x06:
|
||||||
case 0x0a:
|
case 0x0a:
|
||||||
Run5_L();
|
Run5_L();
|
||||||
if ((sr5_L & 0x0f) == 0)
|
if (sr5_L == 16)
|
||||||
{
|
{
|
||||||
on_L = false;
|
on_L = false;
|
||||||
}
|
}
|
||||||
else if ((sr5_L & 0x0f) == 0x0f)
|
else if (sr5_L == 31)
|
||||||
{
|
{
|
||||||
on_L = true;
|
on_L = true;
|
||||||
}
|
}
|
||||||
|
@ -277,10 +276,9 @@ namespace BizHawk.Emulation.Cores.Atari.Atari2600
|
||||||
Run5_R();
|
Run5_R();
|
||||||
break;
|
break;
|
||||||
case 0x02:
|
case 0x02:
|
||||||
if (((sr5_R & 0x0f) == 0) || ((sr5_R & 0x0f) == 0x0f))
|
if ((sr5_R == 31) || (sr5_R == 16))
|
||||||
{
|
{
|
||||||
on_R = Run4_R();
|
on_R = Run4_R();
|
||||||
Run5_R();
|
|
||||||
}
|
}
|
||||||
Run5_R();
|
Run5_R();
|
||||||
break;
|
break;
|
||||||
|
@ -305,11 +303,11 @@ namespace BizHawk.Emulation.Cores.Atari.Atari2600
|
||||||
case 0x06:
|
case 0x06:
|
||||||
case 0x0a:
|
case 0x0a:
|
||||||
Run5_R();
|
Run5_R();
|
||||||
if ((sr5_R & 0x0f) == 0)
|
if (sr5_R == 16)
|
||||||
{
|
{
|
||||||
on_R = false;
|
on_R = false;
|
||||||
}
|
}
|
||||||
else if ((sr5_R & 0x0f) == 0x0f)
|
else if (sr5_R == 31)
|
||||||
{
|
{
|
||||||
on_R = true;
|
on_R = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -120,10 +120,9 @@ namespace BizHawk.Emulation.Cores.Atari.A7800Hawk
|
||||||
Run5();
|
Run5();
|
||||||
break;
|
break;
|
||||||
case 0x02:
|
case 0x02:
|
||||||
if ((sr5 & 0x0f) == 0 || (sr5 & 0x0f) == 0x0f)
|
if ((sr5 == 31) || (sr5 == 16))
|
||||||
{
|
{
|
||||||
on = Run4();
|
on = Run4();
|
||||||
Run5();
|
|
||||||
}
|
}
|
||||||
Run5();
|
Run5();
|
||||||
break;
|
break;
|
||||||
|
@ -146,11 +145,11 @@ namespace BizHawk.Emulation.Cores.Atari.A7800Hawk
|
||||||
case 0x06:
|
case 0x06:
|
||||||
case 0x0a:
|
case 0x0a:
|
||||||
Run5();
|
Run5();
|
||||||
if ((sr5 & 0x0f) == 0)
|
if (sr5 == 16)
|
||||||
{
|
{
|
||||||
on = false;
|
on = false;
|
||||||
}
|
}
|
||||||
else if ((sr5 & 0x0f) == 0x0f)
|
else if (sr5 == 31)
|
||||||
{
|
{
|
||||||
on = true;
|
on = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue