Beginning of Test suite, someone else adding CPU tests and others would be helpful!

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@893 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Sonicadvance1
2008-10-16 21:58:59 +00:00
parent e3340bbe6d
commit 3ae2d556ab
4 changed files with 221 additions and 0 deletions

View File

@ -191,6 +191,9 @@ void CEXIMic::TransferByte(u8 &byte)
break;
case cmdGetBuffer:
printf("POS %d\n", m_uPosition);
// Are we not able to return all the data then?
// I think if we set the Interrupt to false, it reads another 64
// Will Look in to it.
if(m_uPosition == SNum / 2) // It's 16bit Audio, so we divide by two
;//m_bInterruptSet = false;
byte = rand() % 0xFF;