Vendor and update Capstone

This commit is contained in:
wheremyfoodat
2025-10-12 02:43:44 +03:00
parent 0b8d8af9c7
commit 3f4e240bfc
3 changed files with 5 additions and 5 deletions

6
.gitmodules vendored
View File

@@ -58,9 +58,6 @@
[submodule "third_party/Catch2"] [submodule "third_party/Catch2"]
path = third_party/Catch2 path = third_party/Catch2
url = https://github.com/catchorg/Catch2.git url = https://github.com/catchorg/Catch2.git
[submodule "third_party/capstone"]
path = third_party/capstone
url = https://github.com/capstone-engine/capstone
[submodule "third_party/hips"] [submodule "third_party/hips"]
path = third_party/hips path = third_party/hips
url = https://github.com/wheremyfoodat/Hips url = https://github.com/wheremyfoodat/Hips
@@ -80,3 +77,6 @@
path = third_party/SDL2 path = third_party/SDL2
url = https://github.com/libsdl-org/SDL url = https://github.com/libsdl-org/SDL
branch = SDL2 branch = SDL2
[submodule "third_party/capstone"]
path = third_party/capstone
url = https://github.com/Panda3DS-emu/capstone

View File

@@ -481,7 +481,7 @@ namespace Common {
long page_size = sysconf(_SC_PAGESIZE); long page_size = sysconf(_SC_PAGESIZE);
if (page_size != 0x1000) { if (page_size != 0x1000) {
Helpers::warn("page size {:#x} is incompatible with 4K paging", page_size); Helpers::warn("Page size %X is incompatible with 4K paging", page_size);
throw std::bad_alloc{}; throw std::bad_alloc{};
} }