diff options
author | bunnei <bunneidev@gmail.com> | 2016-12-22 00:00:01 -0500 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2016-12-22 00:27:46 -0500 |
commit | e26fbfd1d72c026d0f25c09595e7123459b1734f (patch) | |
tree | 5d99608b33c991b59c25cd2014be8bacb136c29b /src/citra_qt/debugger/disassembler.cpp | |
parent | 5ac5cbeab7387b2eabd4618291e223fd7189bb8b (diff) |
core: Replace "AppCore" nomenclature with just "CPU".
Diffstat (limited to 'src/citra_qt/debugger/disassembler.cpp')
-rw-r--r-- | src/citra_qt/debugger/disassembler.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/citra_qt/debugger/disassembler.cpp b/src/citra_qt/debugger/disassembler.cpp index 712e35f7f3..e9c8ad8581 100644 --- a/src/citra_qt/debugger/disassembler.cpp +++ b/src/citra_qt/debugger/disassembler.cpp @@ -185,13 +185,13 @@ DisassemblerWidget::DisassemblerWidget(QWidget* parent, EmuThread* emu_thread) } void DisassemblerWidget::Init() { - model->ParseFromAddress(Core::AppCore().GetPC()); + model->ParseFromAddress(Core::CPU().GetPC()); disasm_ui.treeView->resizeColumnToContents(0); disasm_ui.treeView->resizeColumnToContents(1); disasm_ui.treeView->resizeColumnToContents(2); - QModelIndex model_index = model->IndexFromAbsoluteAddress(Core::AppCore().GetPC()); + QModelIndex model_index = model->IndexFromAbsoluteAddress(Core::CPU().GetPC()); disasm_ui.treeView->scrollTo(model_index); disasm_ui.treeView->selectionModel()->setCurrentIndex( model_index, QItemSelectionModel::SelectCurrent | QItemSelectionModel::Rows); @@ -215,7 +215,7 @@ void DisassemblerWidget::OnPause() { // TODO: By now, the CPU might not have actually stopped... if (Core::System::GetInstance().IsPoweredOn()) { - model->SetNextInstruction(Core::AppCore().GetPC()); + model->SetNextInstruction(Core::CPU().GetPC()); } } @@ -224,7 +224,7 @@ void DisassemblerWidget::OnToggleStartStop() { } void DisassemblerWidget::OnDebugModeEntered() { - u32 next_instr = Core::AppCore().GetPC(); + u32 next_instr = Core::CPU().GetPC(); if (model->GetBreakPoints().IsAddressBreakPoint(next_instr)) emu_thread->SetRunning(false); |