Small Fixes
All checks were successful
CI / Build (AMD64, Server) (push) Successful in 19m4s
CI / Build (AMD64, Client) (push) Successful in 19m36s
CI / Build (ARM64, Client) (push) Successful in 19m47s
CI / Build (ARM64, Server) (push) Successful in 19m16s
CI / Build (ARMHF, Server) (push) Successful in 14m6s
CI / Build (ARMHF, Client) (push) Successful in 17m34s
CI / Test (Client) (push) Successful in 18m39s
CI / Test (Server) (push) Successful in 15m50s
CI / Release (push) Has been skipped
CI / Build Example Mods (push) Successful in 10m42s

This commit is contained in:
TheBrokenRail 2024-06-08 18:00:30 -04:00
parent a0f32a15a7
commit 69a9613e4f
3 changed files with 5 additions and 3 deletions

View File

@ -13,4 +13,6 @@ endif()
add_subdirectory(src)
# Install
install_runtime("${MCPI_BIN_DIR}" "${MCPI_LEGAL_DIR}")
if(COMMAND install_runtime)
install_runtime("${MCPI_BIN_DIR}" "${MCPI_LEGAL_DIR}")
endif()

@ -1 +1 @@
Subproject commit e6839074fd2eec91c5bb2e08705f2f235a568f74
Subproject commit 790e7918b1d63102b7a7f39dc1db006b2a5abf48

View File

@ -58,7 +58,7 @@ void bootstrap() {
print_debug_information();
// Check Page Size (Not Needed When Using QEMU)
#ifndef MCPI_USE_QEMU
#ifndef MCPI_RUNTIME_IS_QEMU
long page_size = sysconf(_SC_PAGESIZE);
if (page_size != REQUIRED_PAGE_SIZE) {
ERR("Invalid page size! A page size of %ld bytes is required, but the system size is %ld bytes.", (long) REQUIRED_PAGE_SIZE, page_size);