Skip to content

Commit a76e4f1

Browse files
authored
Added the second AMD APU code value to Steam Deck detection (#3434)
1 parent 36ee9f0 commit a76e4f1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/backend/utils/systeminfo/steamDeck.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@ type SteamDeckInfo =
77
| { isDeck: false; model?: undefined }
88

99
function getSteamDeckInfo(cpus: CpuInfo[], gpus: GPUInfo[]): SteamDeckInfo {
10-
if (cpus[0]?.model !== 'AMD Custom APU 0405') return { isDeck: false }
10+
if (
11+
cpus[0]?.model !== 'AMD Custom APU 0405' &&
12+
cpus[0]?.model !== 'AMD Custom APU 0932'
13+
)
14+
return { isDeck: false }
1115

1216
const primaryGpu = gpus.at(0)
1317
if (!primaryGpu || primaryGpu.vendorId !== '1002') return { isDeck: false }

0 commit comments

Comments
 (0)