mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
VideoBackendBase: Clarify function name
Rename GetDefaultBackendName to GetDefaultBackendConfigName to distinguish it from the display name.
This commit is contained in:
@ -212,7 +212,7 @@ const Info<bool> MAIN_RAM_OVERRIDE_ENABLE{{System::Main, "Core", "RAMOverrideEna
|
||||
const Info<u32> MAIN_MEM1_SIZE{{System::Main, "Core", "MEM1Size"}, Memory::MEM1_SIZE_RETAIL};
|
||||
const Info<u32> MAIN_MEM2_SIZE{{System::Main, "Core", "MEM2Size"}, Memory::MEM2_SIZE_RETAIL};
|
||||
const Info<std::string> MAIN_GFX_BACKEND{{System::Main, "Core", "GFXBackend"},
|
||||
VideoBackendBase::GetDefaultBackendName()};
|
||||
VideoBackendBase::GetDefaultBackendConfigName()};
|
||||
const Info<HSP::HSPDeviceType> MAIN_HSP_DEVICE{{System::Main, "Core", "HSPDevice"},
|
||||
HSP::HSPDeviceType::None};
|
||||
const Info<u32> MAIN_ARAM_EXPANSION_SIZE{{System::Main, "Core", "ARAMExpansionSize"}, 0x400000};
|
||||
|
@ -222,7 +222,7 @@ static VideoBackendBase* GetDefaultVideoBackend()
|
||||
return backends.front().get();
|
||||
}
|
||||
|
||||
std::string VideoBackendBase::GetDefaultBackendName()
|
||||
std::string VideoBackendBase::GetDefaultBackendConfigName()
|
||||
{
|
||||
auto* default_backend = GetDefaultVideoBackend();
|
||||
return default_backend ? default_backend->GetName() : "";
|
||||
|
@ -64,7 +64,7 @@ public:
|
||||
u32 Video_GetQueryResult(PerfQueryType type);
|
||||
u16 Video_GetBoundingBox(int index);
|
||||
|
||||
static std::string GetDefaultBackendName();
|
||||
static std::string GetDefaultBackendConfigName();
|
||||
static const std::vector<std::unique_ptr<VideoBackendBase>>& GetAvailableBackends();
|
||||
static void ActivateBackend(const std::string& name);
|
||||
|
||||
|
Reference in New Issue
Block a user