Fix Stuff

This commit is contained in:
TheBrokenRail 2020-10-16 18:23:39 -04:00
parent 27ad6caa3b
commit e501391142
4 changed files with 5 additions and 4 deletions

View File

@ -1,4 +1,4 @@
FROM debian:bullseye FROM arm64v8/debian:bullseye
RUN dpkg --add-architecture armhf RUN dpkg --add-architecture armhf

View File

@ -3,4 +3,4 @@
set -e set -e
# Launch Minecraft # Launch Minecraft
${DOCKER_COMPOSE} run --rm minecraft-pi ${DOCKER_COMPOSE} run --rm minecraft-pi

View File

@ -7,7 +7,7 @@ virgl_test_server &
VIRGL_PID="$!" VIRGL_PID="$!"
# Launch Minecraft # Launch Minecraft
${DOCKER_COMPOSE} run --rm minecraft-pi || : ${DOCKER_COMPOSE} run --rm minecraft-pi || :
RET="$?" RET="$?"
# Kill VirGL # Kill VirGL

View File

@ -69,7 +69,8 @@ void _patch(const char *file, int line, void *start, unsigned char patch[]) {
PATCH_PRINTF(file, line, start, "result"); PATCH_PRINTF(file, line, start, "result");
mprotect((void *) page_start, end - page_start, PROT_READ | PROT_EXEC); mprotect((void *) page_start, end - page_start, PROT_READ | PROT_EXEC);
__clear_cache(start, (void *) end);
__builtin___clear_cache(start, (void *) end);
} }
void _patch_address(const char *file, int line, void *start, void *target) { void _patch_address(const char *file, int line, void *start, void *target) {