Fix More Stuff
This commit is contained in:
parent
d098e67ee2
commit
be9e9efebc
@ -1,4 +1,4 @@
|
||||
version: '3.7'
|
||||
version: '3'
|
||||
services:
|
||||
minecraft-pi:
|
||||
image: 'thebrokenrail/minecraft-pi:client'
|
||||
|
@ -1,4 +1,4 @@
|
||||
version: '3.7'
|
||||
version: '3'
|
||||
services:
|
||||
minecraft-pi:
|
||||
image: 'thebrokenrail/minecraft-pi:client'
|
||||
|
@ -1,4 +1,4 @@
|
||||
version: '3.7'
|
||||
version: '3'
|
||||
services:
|
||||
minecraft-pi-server:
|
||||
image: 'thebrokenrail/minecraft-pi:server'
|
||||
|
@ -466,11 +466,11 @@ HOOK(eglTerminate, EGLBoolean, (__attribute__((unused)) EGLDisplay display)) {
|
||||
// Use VirGL
|
||||
__attribute__((constructor)) static void init() {
|
||||
int mode = extra_get_mode();
|
||||
if (mode == 0) {
|
||||
if (mode != 1) {
|
||||
setenv("LIBGL_ALWAYS_SOFTWARE", "1", 1);
|
||||
if (!is_server) {
|
||||
setenv("GALLIUM_DRIVER", "virpipe", 1);
|
||||
}
|
||||
}
|
||||
if (mode == 0) {
|
||||
setenv("GALLIUM_DRIVER", "virpipe", 1);
|
||||
}
|
||||
is_server = mode == 2;
|
||||
}
|
||||
|
@ -70,7 +70,7 @@ void _patch(const char *file, int line, void *start, unsigned char patch[]) {
|
||||
|
||||
mprotect((void *) page_start, end - page_start, PROT_READ | PROT_EXEC);
|
||||
|
||||
__builtin___clear_cache(start, (void *) end);
|
||||
__clear_cache(start, end);
|
||||
}
|
||||
|
||||
void _patch_address(const char *file, int line, void *start, void *target) {
|
||||
|
Loading…
Reference in New Issue
Block a user