Repository navigation
EmuLibrary 1.0.7
EmuLibrary 1.0.7
Fixed
-
The native core now matches device profiles.
device_json()read the DMI strings
and returned a hard-coded "Linux desktop / detected: false" without ever opening
devices.json, so on every machine where the native core loads — every desktop, a
Steam Deck included — the answer was the same and the Deck profile could never apply.
The Python core matched correctly, which is why a Pi looked right and a Deck did not.It now matches as Python does: vendor against
sys_vendorand the model string
(a device tree has no separate vendor field), products and boards by
exact-or-substring, the device tree read when DMI is absent, and the family default
markeddetected: falsewhen nothing matches. -
EMULIBRARY_DMI_ROOTandEMULIBRARY_DEVICE_TREEoverride the two sources, like
EMULIBRARY_LIBRETRO_DIRdoes for cores — also what makes it testable without the
hardware.
Notes
1.0.6 tagged this work but its native test asserted a Linux device on macOS, so that
leg was red; 1.0.7 guards the Linux-only cases. Library behaviour is identical.
Verified through a client: Valve/Jupiter → steamdeck (detected, high), a Pi 5
device tree → raspberry-pi-5 (detected, high), nothing → linux-desktop undetected.