summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/k_process.h
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-09-16 17:40:17 +0200
committerGitHub <noreply@github.com>2023-09-16 17:40:17 +0200
commit62d473305df295a3b8e955e6a2a05a1105ef893d (patch)
tree114ea862538652c81c14c282b81a29816fe5c2d1 /src/core/hle/kernel/k_process.h
parentMerge pull request #11499 from Squall-Leonhart/bitlockerfix (diff)
parentcore: improve debug workflow (diff)
downloadyuzu-62d473305df295a3b8e955e6a2a05a1105ef893d.tar
yuzu-62d473305df295a3b8e955e6a2a05a1105ef893d.tar.gz
yuzu-62d473305df295a3b8e955e6a2a05a1105ef893d.tar.bz2
yuzu-62d473305df295a3b8e955e6a2a05a1105ef893d.tar.lz
yuzu-62d473305df295a3b8e955e6a2a05a1105ef893d.tar.xz
yuzu-62d473305df295a3b8e955e6a2a05a1105ef893d.tar.zst
yuzu-62d473305df295a3b8e955e6a2a05a1105ef893d.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{};