mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 15:45:46 +00:00
core: Move process creation out of global state.
This commit is contained in:
parent
b2b51850a1
commit
f16763ed52
22 changed files with 87 additions and 72 deletions
|
@ -95,7 +95,7 @@ private:
|
|||
|
||||
class Process final : public Object {
|
||||
public:
|
||||
static SharedPtr<Process> Create(std::string&& name, u64 program_id);
|
||||
static SharedPtr<Process> Create(std::string&& name);
|
||||
|
||||
std::string GetTypeName() const override {
|
||||
return "Process";
|
||||
|
@ -203,5 +203,4 @@ void ClearProcessList();
|
|||
/// Retrieves a process from the current list of processes.
|
||||
SharedPtr<Process> GetProcessById(u32 process_id);
|
||||
|
||||
extern SharedPtr<Process> g_current_process;
|
||||
} // namespace Kernel
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue