diff options
| author | 2015-02-01 00:14:40 -0200 | |
|---|---|---|
| committer | 2015-02-02 15:37:09 -0200 | |
| commit | 88a4a808c688eeabb136e9b45223a0e9c95896bc (patch) | |
| tree | c4181a69ff882e1af1b7d65bf3596a6cb3dd88b9 /src/core/hle/kernel/mutex.h | |
| parent | Kernel: Make WaitObjects share ownership of Threads waiting on them (diff) | |
| download | yuzu-88a4a808c688eeabb136e9b45223a0e9c95896bc.tar.gz yuzu-88a4a808c688eeabb136e9b45223a0e9c95896bc.tar.xz yuzu-88a4a808c688eeabb136e9b45223a0e9c95896bc.zip | |
Kernel: Stop creating useless Handles during object creation
They're finally unnecessary, and will stop cluttering the application's
handle table.
Diffstat (limited to 'src/core/hle/kernel/mutex.h')
| -rw-r--r-- | src/core/hle/kernel/mutex.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/mutex.h b/src/core/hle/kernel/mutex.h index cdd79e265..548403614 100644 --- a/src/core/hle/kernel/mutex.h +++ b/src/core/hle/kernel/mutex.h | |||
| @@ -22,7 +22,7 @@ public: | |||
| 22 | * @param name Optional name of mutex | 22 | * @param name Optional name of mutex |
| 23 | * @return Pointer to new Mutex object | 23 | * @return Pointer to new Mutex object |
| 24 | */ | 24 | */ |
| 25 | static ResultVal<SharedPtr<Mutex>> Create(bool initial_locked, std::string name = "Unknown"); | 25 | static SharedPtr<Mutex> Create(bool initial_locked, std::string name = "Unknown"); |
| 26 | 26 | ||
| 27 | std::string GetTypeName() const override { return "Mutex"; } | 27 | std::string GetTypeName() const override { return "Mutex"; } |
| 28 | std::string GetName() const override { return name; } | 28 | std::string GetName() const override { return name; } |