mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-25 19:55:50 +00:00
Core/DSPCore: Make Jit read from coefficient ROM when told to do so,
change the unit test to catch this bug if it turns up again and two more zeroWriteBackLog() calls. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6356 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
e96943c121
commit
874dab37f8
4 changed files with 33 additions and 6 deletions
|
@ -286,6 +286,27 @@ void nx_slnm()
|
|||
tester2.Report();
|
||||
}
|
||||
|
||||
void nx_ld()
|
||||
{
|
||||
DSPJitTester tester1(0x8000, 0x00c0);
|
||||
tester1.AddTestData(DSP_REG_AXL0,0xdead);
|
||||
tester1.AddTestData(DSP_REG_AXL1,0xbeef);
|
||||
tester1.AddTestData(DSP_REG_AR0);
|
||||
tester1.AddTestData(DSP_REG_WR0);
|
||||
tester1.AddTestData(DSP_REG_IX0);
|
||||
tester1.TestAll(true);
|
||||
tester1.Report();
|
||||
|
||||
DSPJitTester tester2(0x8000, 0x00c0);
|
||||
tester2.AddTestData(DSP_REG_AXL0,0xdead);
|
||||
tester2.AddTestData(DSP_REG_AXL1,0xbeef);
|
||||
tester2.AddTestData(DSP_REG_AR3);
|
||||
tester2.AddTestData(DSP_REG_WR3);
|
||||
tester2.AddTestData(DSP_REG_IX3);
|
||||
tester2.TestAll(true);
|
||||
tester2.Report();
|
||||
}
|
||||
|
||||
void AudioJitTests()
|
||||
{
|
||||
DSPJitTester::Initialize();
|
||||
|
@ -315,6 +336,7 @@ void AudioJitTests()
|
|||
nx_sln();
|
||||
nx_slm();
|
||||
nx_slnm();
|
||||
nx_ld();
|
||||
}
|
||||
|
||||
//required to be able to link against DSPCore
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue