diff options
author | bunnei <bunneidev@gmail.com> | 2018-03-13 22:49:59 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-03-14 23:42:19 +0100 |
commit | 7d6653268f68dea8bc39288e3a27bc499b7b8154 (patch) | |
tree | 6330442e1dacc0d850ce09c35dcee7ddd3a2bc9d /src/core/hle/kernel/process.cpp | |
parent | Merge pull request #213 from Hexagon12/dynarmic-default (diff) | |
download | yuzu-7d6653268f68dea8bc39288e3a27bc499b7b8154.tar yuzu-7d6653268f68dea8bc39288e3a27bc499b7b8154.tar.gz yuzu-7d6653268f68dea8bc39288e3a27bc499b7b8154.tar.bz2 yuzu-7d6653268f68dea8bc39288e3a27bc499b7b8154.tar.lz yuzu-7d6653268f68dea8bc39288e3a27bc499b7b8154.tar.xz yuzu-7d6653268f68dea8bc39288e3a27bc499b7b8154.tar.zst yuzu-7d6653268f68dea8bc39288e3a27bc499b7b8154.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/process.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/hle/kernel/process.cpp b/src/core/hle/kernel/process.cpp index bb6dc28d7..9ca2374ea 100644 --- a/src/core/hle/kernel/process.cpp +++ b/src/core/hle/kernel/process.cpp @@ -31,14 +31,14 @@ CodeSet::~CodeSet() {} u32 Process::next_process_id; -SharedPtr<Process> Process::Create(std::string&& name, u64 program_id) { +SharedPtr<Process> Process::Create(std::string&& name) { SharedPtr<Process> process(new Process); process->name = std::move(name); process->flags.raw = 0; process->flags.memory_region.Assign(MemoryRegion::APPLICATION); process->status = ProcessStatus::Created; - process->program_id = program_id; + process->program_id = 0; process_list.push_back(process); return process; @@ -319,5 +319,4 @@ SharedPtr<Process> GetProcessById(u32 process_id) { return *itr; } -SharedPtr<Process> g_current_process; } // namespace Kernel |