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/core/core.h | |
parent | 5ac5cbeab7387b2eabd4618291e223fd7189bb8b (diff) |
core: Replace "AppCore" nomenclature with just "CPU".
Diffstat (limited to 'src/core/core.h')
-rw-r--r-- | src/core/core.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/core/core.h b/src/core/core.h index 728c24c1c..b0f8df441 100644 --- a/src/core/core.h +++ b/src/core/core.h @@ -88,18 +88,18 @@ public: * @returns True if the emulated system is powered on, otherwise false. */ bool IsPoweredOn() const { - return app_core != nullptr; + return cpu_core != nullptr; } /// Prepare the core emulation for a reschedule void PrepareReschedule(); /** - * Gets a reference to the emulated AppCore CPU. - * @returns A reference to the emulated AppCore CPU. + * Gets a reference to the emulated CPU. + * @returns A reference to the emulated CPU. */ - ARM_Interface& AppCore() { - return *app_core; + ARM_Interface& CPU() { + return *cpu_core; } private: @@ -117,8 +117,8 @@ private: /// AppLoader used to load the current executing application std::unique_ptr<Loader::AppLoader> app_loader; - ///< ARM11 application core - std::unique_ptr<ARM_Interface> app_core; + ///< ARM11 CPU core + std::unique_ptr<ARM_Interface> cpu_core; /// When true, signals that a reschedule should happen bool reschedule_pending{}; @@ -126,8 +126,8 @@ private: static System s_instance; }; -static ARM_Interface& AppCore() { - return System::GetInstance().AppCore(); +static ARM_Interface& CPU() { + return System::GetInstance().CPU(); } } // namespace Core |