mirror of
https://github.com/SourMesen/Mesen.git
synced 2025-04-02 10:52:48 -04:00
Small APU fixes
This commit is contained in:
parent
8c079e5ca1
commit
62ddf5e8e5
2 changed files with 3 additions and 1 deletions
|
@ -11,6 +11,8 @@ IAudioDevice* APU::AudioDevice = nullptr;
|
|||
|
||||
APU::APU()
|
||||
{
|
||||
APU::Instance = this;
|
||||
|
||||
blargg_err_t error = _buf.sample_rate(44100);
|
||||
if(error) {
|
||||
//report_error(error);
|
||||
|
|
|
@ -98,7 +98,7 @@ bool Console::RunTest(uint8_t *expectedResult)
|
|||
Timer timer;
|
||||
uint8_t maxWait = 30;
|
||||
while(true) {
|
||||
_cpu->Exec();
|
||||
_apu->Exec(_cpu->Exec());
|
||||
_ppu->Exec();
|
||||
|
||||
if(timer.GetElapsedMS() > 100) {
|
||||
|
|
Loading…
Add table
Reference in a new issue