cpu::Processor now tracks a pointer to the emulator.

This commit is contained in:
Dr. Chat
2015-11-27 22:33:48 -06:00
committed by Ben Vanik
parent 7d59258839
commit 28468f8a18
5 changed files with 12 additions and 7 deletions

View File

@@ -189,7 +189,7 @@ class TestRunner {
memory->Reset();
// Setup a fresh processor.
processor.reset(new Processor(memory.get(), nullptr, nullptr));
processor.reset(new Processor(nullptr, memory.get(), nullptr, nullptr));
processor->Setup();
processor->set_debug_info_flags(DebugInfoFlags::kDebugInfoAll);