summaryrefslogtreecommitdiff
path: root/src/core/core.h
diff options
context:
space:
mode:
authorGravatar bunnei2016-12-17 01:20:47 -0500
committerGravatar bunnei2016-12-21 23:48:14 -0500
commit5ac5cbeab7387b2eabd4618291e223fd7189bb8b (patch)
treee035f870b86f930876a5ced2c1e2be9f6a087a91 /src/core/core.h
parentcore: Remove HLE module, consolidate code & various cleanups. (diff)
downloadyuzu-5ac5cbeab7387b2eabd4618291e223fd7189bb8b.tar.gz
yuzu-5ac5cbeab7387b2eabd4618291e223fd7189bb8b.tar.xz
yuzu-5ac5cbeab7387b2eabd4618291e223fd7189bb8b.zip
Address clang-format issues.
Diffstat (limited to 'src/core/core.h')
-rw-r--r--src/core/core.h25
1 files changed, 13 insertions, 12 deletions
diff --git a/src/core/core.h b/src/core/core.h
index 8194db6a2..728c24c1c 100644
--- a/src/core/core.h
+++ b/src/core/core.h
@@ -42,23 +42,24 @@ public:
42 42
43 /// Enumeration representing the return values of the System Initialize and Load process. 43 /// Enumeration representing the return values of the System Initialize and Load process.
44 enum class ResultStatus : u32 { 44 enum class ResultStatus : u32 {
45 Success, ///< Succeeded 45 Success, ///< Succeeded
46 ErrorNotInitialized, ///< Error trying to use core prior to initialization 46 ErrorNotInitialized, ///< Error trying to use core prior to initialization
47 ErrorGetLoader, ///< Error finding the correct application loader 47 ErrorGetLoader, ///< Error finding the correct application loader
48 ErrorSystemMode, ///< Error determining the system mode 48 ErrorSystemMode, ///< Error determining the system mode
49 ErrorLoader, ///< Error loading the specified application 49 ErrorLoader, ///< Error loading the specified application
50 ErrorLoader_ErrorEncrypted, ///< Error loading the specified application due to encryption 50 ErrorLoader_ErrorEncrypted, ///< Error loading the specified application due to encryption
51 ErrorLoader_ErrorInvalidFormat, ///< Error loading the specified application due to an invalid format 51 ErrorLoader_ErrorInvalidFormat, ///< Error loading the specified application due to an
52 ErrorVideoCore, ///< Error in the video core 52 /// invalid format
53 ErrorVideoCore, ///< Error in the video core
53 }; 54 };
54 55
55 /** 56 /**
56 * Run the core CPU loop 57 * Run the core CPU loop
57 * This function runs the core for the specified number of CPU instructions before trying to update 58 * This function runs the core for the specified number of CPU instructions before trying to
58 * hardware. This is much faster than SingleStep (and should be equivalent), as the CPU is not 59 * update hardware. This is much faster than SingleStep (and should be equivalent), as the CPU
59 * required to do a full dispatch with each instruction. NOTE: the number of instructions requested 60 * is not required to do a full dispatch with each instruction. NOTE: the number of instructions
60 * is not guaranteed to run, as this will be interrupted preemptively if a hardware update is 61 * requested is not guaranteed to run, as this will be interrupted preemptively if a hardware
61 * requested (e.g. on a thread switch). 62 * update is requested (e.g. on a thread switch).
62 * @param tight_loop Number of instructions to execute. 63 * @param tight_loop Number of instructions to execute.
63 * @return Result status, indicating whethor or not the operation succeeded. 64 * @return Result status, indicating whethor or not the operation succeeded.
64 */ 65 */