Fixed the noise channel. Fixed speech in IM. Added 0xED57 to play WBIII
This commit is contained in:
@@ -19,7 +19,8 @@ namespace Core
|
||||
public ushort? Breakpoint { get; set; } = null;
|
||||
|
||||
// NTSC SMS T-States per frame
|
||||
public const int TStatesPerFrame = 59736;
|
||||
public const int TStatesPerFrame = 59736; //NTSC
|
||||
//public const int TStatesPerFrame = 49780; //PAL
|
||||
|
||||
public SmsMachine()
|
||||
{
|
||||
@@ -46,7 +47,7 @@ namespace Core
|
||||
public void RunFrame()
|
||||
{
|
||||
int tStatesThisFrame = 0;
|
||||
while (tStatesThisFrame < 59736) // Standard NTSC frame time
|
||||
while (tStatesThisFrame < TStatesPerFrame) // Standard NTSC frame time
|
||||
{
|
||||
// 1. Run one CPU instruction
|
||||
int cycles = Cpu.Step();
|
||||
|
||||
Reference in New Issue
Block a user