Add missing GetDriverName to Os
This commit is contained in:
@@ -26,6 +26,8 @@ class PD_API Os {
|
|||||||
static u64 GetTime() { return driver->GetTime(); }
|
static u64 GetTime() { return driver->GetTime(); }
|
||||||
static u64 GetTimeNano() { return driver->GetTimeNano(); }
|
static u64 GetTimeNano() { return driver->GetTimeNano(); }
|
||||||
|
|
||||||
|
static const char* GetDriverName() { return driver->GetName(); }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static std::unique_ptr<OsDriver> driver;
|
static std::unique_ptr<OsDriver> driver;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user