mirror of
https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu-mainline.git
synced 2025-12-17 23:22:41 +00:00
Core: Alter the kernel string functions to use std::string instead of const char*.
Most functions already operate on std::strings. This also removes the need to manually null terminate thread names.
This commit is contained in:
@@ -17,8 +17,8 @@ namespace Kernel {
|
||||
|
||||
class AddressArbiter : public Object {
|
||||
public:
|
||||
const char* GetTypeName() const { return "Arbiter"; }
|
||||
const char* GetName() const { return name.c_str(); }
|
||||
std::string GetTypeName() const { return "Arbiter"; }
|
||||
std::string GetName() const { return name; }
|
||||
|
||||
static Kernel::HandleType GetStaticHandleType() { return HandleType::AddressArbiter; }
|
||||
Kernel::HandleType GetHandleType() const { return HandleType::AddressArbiter; }
|
||||
|
||||
Reference in New Issue
Block a user