[CMAKE][BOOTDATA] Properly load Xbox video miniport driver in LiveCD (#2325)

Surprisingly this also happens to "fix" random "Invalid Opcode" exceptions in XQEMU.
(But I think it's more like a coincidence... --hbelusca)

CORE-16627 CORE-16216
This commit is contained in:
Stanislav Motylkov 2020-02-11 01:20:12 +03:00 committed by GitHub
parent 4788676671
commit 988f979139
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 2 deletions

View file

@ -853,8 +853,14 @@ function(create_registry_hives)
# LiveCD hives
list(APPEND _livecd_inf_files
${_registry_inf}
${CMAKE_SOURCE_DIR}/boot/bootdata/livecd.inf
${CMAKE_SOURCE_DIR}/boot/bootdata/hiveinst.inf)
${CMAKE_SOURCE_DIR}/boot/bootdata/livecd.inf)
if(SARCH STREQUAL "xbox")
list(APPEND _livecd_inf_files
${CMAKE_SOURCE_DIR}/boot/bootdata/hiveinst_xbox.inf)
else()
list(APPEND _livecd_inf_files
${CMAKE_SOURCE_DIR}/boot/bootdata/hiveinst.inf)
endif()
add_custom_command(
OUTPUT ${CMAKE_BINARY_DIR}/boot/bootdata/system