video_core: prefer discrete gpu if available (#116)

* video_core: prefer discrete gpu if available

* ci: Upgrade to clang format 17

* rewrite w\o std::zip usage

---------

Co-authored-by: raphaelthegreat <47210458+raphaelthegreat@users.noreply.github.com>
This commit is contained in:
psucien 2024-04-29 23:19:12 +02:00 committed by GitHub
parent d496fab492
commit 2696733cad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 37 additions and 14 deletions

View file

@ -12,7 +12,7 @@ namespace Config {
bool isNeo = false;
u32 screenWidth = 1280;
u32 screenHeight = 720;
u32 gpuId = 0; // Vulkan physical device no
s32 gpuId = -1; // Vulkan physical device index. Set to negative for auto select
std::string logFilter;
std::string logType = "sync";
bool isDebugDump = false;
@ -33,7 +33,7 @@ u32 getScreenHeight() {
return screenHeight;
}
u32 getGpuId() {
s32 getGpuId() {
return gpuId;
}