Add Xbyak submodule

This commit is contained in:
wheremyfoodat 2023-06-07 01:01:59 +03:00
parent afb577487c
commit 31bb1e8e0b
4 changed files with 15 additions and 1 deletions

3
.gitmodules vendored
View file

@ -13,3 +13,6 @@
[submodule "third_party/cryptopp/cryptopp"]
path = third_party/cryptopp/cryptopp
url = https://github.com/weidai11/cryptopp
[submodule "third_party/xbyak"]
path = third_party/xbyak
url = https://github.com/herumi/xbyak

View file

@ -46,6 +46,10 @@ add_subdirectory(third_party/cryptopp)
# Check for x64
if (CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" OR CMAKE_SYSTEM_PROCESSOR STREQUAL "x86-64" OR CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64")
set(HOST_X64 TRUE)
add_subdirectory(third_party/xbyak) # Add xbyak submodule for x86 JITs
include_directories(third_party/xbyak/xbyak)
add_compile_definitions(PANDA3DS_DYNAPICA_SUPPORTED)
add_compile_definitions(PANDA3DS_X64_HOST)
else()
set(HOST_X64 FALSE)
endif()
@ -114,7 +118,7 @@ set(HEADER_FILES include/emulator.hpp include/helpers.hpp include/opengl.hpp inc
include/fs/archive_ext_save_data.hpp include/services/shared_font.hpp include/fs/archive_ncch.hpp
include/renderer_gl/textures.hpp include/colour.hpp include/services/y2r.hpp include/services/cam.hpp
include/services/ldr_ro.hpp include/ipc.hpp include/services/act.hpp include/services/nfc.hpp
include/system_models.hpp include/services/dlp_srvr.hpp
include/system_models.hpp include/services/dlp_srvr.hpp include/PICA/dynapica/pica_recs.hpp
)
set(THIRD_PARTY_SOURCE_FILES third_party/imgui/imgui.cpp

View file

@ -0,0 +1,6 @@
#pragma once
#include "helpers.hpp"
namespace Dynapica {
}

1
third_party/xbyak vendored Submodule

@ -0,0 +1 @@
Subproject commit ad5276fa4d86d9579ff626719cea43c809a6cab8