]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commit
pcem: select Voodoo codegen by host capability
authorStefan Reinauer <stefan.reinauer@coreboot.org>
Mon, 1 Jun 2026 21:17:14 +0000 (14:17 -0700)
committerStefan Reinauer <stefan.reinauer@coreboot.org>
Mon, 1 Jun 2026 21:17:14 +0000 (14:17 -0700)
commita66735b9f6a7afd9635450405487cf1da665d48d
tree6d274cf77dfc9cf0a245bd8fbe7d2483a494b20e
parenteefaba8af9769a24ab212dc75c8bd09e8c8d0d48
pcem: select Voodoo codegen by host capability

The imported Voodoo code only enabled its x86 code generators through
Windows-oriented preprocessor checks. That left Unix x86 builds with
the recompiler disabled even when the matching generator was compiled.

Derive explicit PCEM_VOODOO_CODEGEN macros from the host CPU and use
those macros for init, close, rendering, and the default recompiler
configuration.
pcem/vid_voodoo.cpp
pcem/vid_voodoo_render.cpp
pcem/vid_voodoo_render.h
x86.cpp