Skip to content

EmuLibrary 1.0.7

Choose a tag to compare

@jkoehler11 jkoehler11 released this 01 Dec 14:04
· 8 commits to main since this release

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_vendor and 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
    marked detected: false when nothing matches.

  • EMULIBRARY_DMI_ROOT and EMULIBRARY_DEVICE_TREE override the two sources, like
    EMULIBRARY_LIBRETRO_DIR does 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.