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

@@ -116,7 +116,7 @@ X_STATUS Emulator::Setup(
// Initialize the CPU.
processor_ = std::make_unique<xe::cpu::Processor>(
memory_.get(), export_resolver_.get(), debugger_.get());
this, memory_.get(), export_resolver_.get(), debugger_.get());
if (!processor_->Setup()) {
return X_STATUS_UNSUCCESSFUL;
}