mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2025-12-21 09:01:56 -07:00
Move
This commit is contained in:
parent
9d1439e996
commit
64692e19dd
2 changed files with 1 additions and 1 deletions
|
|
@ -163,7 +163,6 @@ public class MainActivity extends LoggableActivity implements OnTouchListener, O
|
||||||
|
|
||||||
// Minecraft 1.13+
|
// Minecraft 1.13+
|
||||||
isInputStackCall = mVersionInfo.arguments != null;
|
isInputStackCall = mVersionInfo.arguments != null;
|
||||||
CallbackBridge.nativeAttachThreadToOther(true, isInputStackCall);
|
|
||||||
|
|
||||||
this.displayMetrics = Tools.getDisplayMetrics(this);
|
this.displayMetrics = Tools.getDisplayMetrics(this);
|
||||||
CallbackBridge.windowWidth = displayMetrics.widthPixels / scaleFactor;
|
CallbackBridge.windowWidth = displayMetrics.widthPixels / scaleFactor;
|
||||||
|
|
|
||||||
|
|
@ -135,6 +135,7 @@ public class CallbackBridge {
|
||||||
|
|
||||||
static {
|
static {
|
||||||
System.loadLibrary("pojavexec");
|
System.loadLibrary("pojavexec");
|
||||||
|
CallbackBridge.nativeAttachThreadToOther(true, MainActivity.isInputStackCall);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue