Fix Toolbar Size In Normal GUI

This commit is contained in:
TheBrokenRail 2021-06-28 17:10:15 -04:00
parent 73f900f8b4
commit 989dd7983b
3 changed files with 8 additions and 5 deletions

View File

@ -1 +1 @@
2.0.5 2.0.6

View File

@ -1,5 +1,8 @@
# Changelog # Changelog
**2.0.6**
* Fix Toolbar Size In Normal GUI
**2.0.5** **2.0.5**
* Show Reborn Version In Start Screen * Show Reborn Version In Start Screen
* External Server Support * External Server Support

View File

@ -41,11 +41,11 @@ void init_touch() {
patch((void *) 0x4a6c0, disable_cursor_patch); patch((void *) 0x4a6c0, disable_cursor_patch);
// Add Custom Cursor Rendering // Add Custom Cursor Rendering
overwrite_calls((void *) GameRenderer_render, (void *) GameRenderer_render_injection); overwrite_calls((void *) GameRenderer_render, (void *) GameRenderer_render_injection);
}
// Force Correct Toolbar Size // Force Correct Toolbar Size
unsigned char toolbar_patch[4] = {0x01, 0x00, 0x50, 0xe3}; // "cmp r0, #0x1" unsigned char toolbar_patch[4] = {0x01, 0x00, 0x50, 0xe3}; // "cmp r0, #0x1"
patch((void *) 0x257b0, toolbar_patch); patch((void *) 0x257b0, toolbar_patch);
}
// Show Block Outlines // Show Block Outlines
int block_outlines = feature_has("Show Block Outlines"); int block_outlines = feature_has("Show Block Outlines");