mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-19 09:54:54 +00:00
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:
parent
d496fab492
commit
2696733cad
7 changed files with 37 additions and 14 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue