summaryrefslogtreecommitdiffstats
path: root/src/core/core.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2016-12-22 06:00:01 +0100
committerbunnei <bunneidev@gmail.com>2016-12-22 06:27:46 +0100
commite26fbfd1d72c026d0f25c09595e7123459b1734f (patch)
tree5d99608b33c991b59c25cd2014be8bacb136c29b /src/core/core.cpp
parentAddress clang-format issues. (diff)
downloadyuzu-e26fbfd1d72c026d0f25c09595e7123459b1734f.tar
yuzu-e26fbfd1d72c026d0f25c09595e7123459b1734f.tar.gz
yuzu-e26fbfd1d72c026d0f25c09595e7123459b1734f.tar.bz2
yuzu-e26fbfd1d72c026d0f25c09595e7123459b1734f.tar.lz
yuzu-e26fbfd1d72c026d0f25c09595e7123459b1734f.tar.xz
yuzu-e26fbfd1d72c026d0f25c09595e7123459b1734f.tar.zst
yuzu-e26fbfd1d72c026d0f25c09595e7123459b1734f.zip
Diffstat (limited to '')
-rw-r--r--src/core/core.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp
index fabd3f42a..ee5237096 100644
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@ -26,7 +26,7 @@ namespace Core {
/*static*/ System System::s_instance;
System::ResultStatus System::RunLoop(int tight_loop) {
- if (!app_core) {
+ if (!cpu_core) {
return ResultStatus::ErrorNotInitialized;
}
@@ -53,7 +53,7 @@ System::ResultStatus System::RunLoop(int tight_loop) {
CoreTiming::Advance();
PrepareReschedule();
} else {
- app_core->Run(tight_loop);
+ cpu_core->Run(tight_loop);
}
HW::Update();
@@ -109,7 +109,7 @@ System::ResultStatus System::Load(EmuWindow* emu_window, const std::string& file
}
void System::PrepareReschedule() {
- app_core->PrepareReschedule();
+ cpu_core->PrepareReschedule();
reschedule_pending = true;
}
@@ -123,16 +123,16 @@ void System::Reschedule() {
}
System::ResultStatus System::Init(EmuWindow* emu_window, u32 system_mode) {
- if (app_core) {
- app_core.reset();
+ if (cpu_core) {
+ cpu_core.reset();
}
Memory::Init();
if (Settings::values.use_cpu_jit) {
- app_core = std::make_unique<ARM_Dynarmic>(USER32MODE);
+ cpu_core = std::make_unique<ARM_Dynarmic>(USER32MODE);
} else {
- app_core = std::make_unique<ARM_DynCom>(USER32MODE);
+ cpu_core = std::make_unique<ARM_DynCom>(USER32MODE);
}
CoreTiming::Init();