diff --git a/media-layer/core/src/media.c b/media-layer/core/src/media.c index d2143784..d09fa32b 100644 --- a/media-layer/core/src/media.c +++ b/media-layer/core/src/media.c @@ -76,6 +76,10 @@ static SDLKey glfw_key_to_sdl_key(int key) { return SDLK_7; case GLFW_KEY_8: return SDLK_8; + case GLFW_KEY_9: + return SDLK_9; + case GLFW_KEY_0: + return SDLK_0; // UI Control case GLFW_KEY_ESCAPE: return SDLK_ESCAPE; diff --git a/mods/src/options/options.c b/mods/src/options/options.c index ab2d9875..e6cddabc 100644 --- a/mods/src/options/options.c +++ b/mods/src/options/options.c @@ -107,6 +107,8 @@ void init_options() { } // Display Nametags By Default if (feature_has("Display Nametags By Default", 0)) { + // r6 = 0x1 + // r5 = 0x0 unsigned char display_nametags_patch[4] = {0x1d, 0x60, 0xc0, 0xe5}; // "strb r6, [r0, #0x1d]" patch((void *) 0xa6628, display_nametags_patch); }