summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/k_process.h
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-09-14 20:34:05 +0200
committerLiam <byteslice@airmail.cc>2023-09-14 22:44:15 +0200
commit3ef9673360089b1729ff174eefad9195d8eaf97f (patch)
tree796d1f7b918f0db4c8a2024388dbb4c51c831464 /src/core/hle/kernel/k_process.h
parentMerge pull request #11496 from liamwhite/ngc (diff)
downloadyuzu-3ef9673360089b1729ff174eefad9195d8eaf97f.tar
yuzu-3ef9673360089b1729ff174eefad9195d8eaf97f.tar.gz
yuzu-3ef9673360089b1729ff174eefad9195d8eaf97f.tar.bz2
yuzu-3ef9673360089b1729ff174eefad9195d8eaf97f.tar.lz
yuzu-3ef9673360089b1729ff174eefad9195d8eaf97f.tar.xz
yuzu-3ef9673360089b1729ff174eefad9195d8eaf97f.tar.zst
yuzu-3ef9673360089b1729ff174eefad9195d8eaf97f.zip
Diffstat (limited to 'src/core/hle/kernel/k_process.h')
-rw-r--r--src/core/hle/kernel/k_process.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/core/hle/kernel/k_process.h b/src/core/hle/kernel/k_process.h
index 4fdeaf11a..146e07a57 100644
--- a/src/core/hle/kernel/k_process.h
+++ b/src/core/hle/kernel/k_process.h
@@ -338,7 +338,8 @@ public:
* @returns ResultSuccess if all relevant metadata was able to be
* loaded and parsed. Otherwise, an error code is returned.
*/
- Result LoadFromMetadata(const FileSys::ProgramMetadata& metadata, std::size_t code_size);
+ Result LoadFromMetadata(const FileSys::ProgramMetadata& metadata, std::size_t code_size,
+ bool is_hbl);
/**
* Starts the main application thread for this process.
@@ -368,6 +369,10 @@ public:
return GetProcessId();
}
+ bool IsHbl() const {
+ return m_is_hbl;
+ }
+
bool IsSignaled() const override;
void DoWorkerTaskImpl();
@@ -525,6 +530,7 @@ private:
bool m_is_immortal{};
bool m_is_handle_table_initialized{};
bool m_is_initialized{};
+ bool m_is_hbl{};
std::atomic<u16> m_num_running_threads{};