Skip to content

Commit

Permalink
rc: Fixed default rc file. Fixed can't enter space.
Browse files Browse the repository at this point in the history
  • Loading branch information
longjunyu2 committed Aug 16, 2024
1 parent e7ba44f commit c576abf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion app/src/main/assets/box86_64/rcfiles/box86_64rc-1.rcp
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"id":1,"name":"Default","groups":[{"name":"Steam","desc":"","enabled":true,"items":[{"processName":"steam.exe","desc":"","vars":{"BOX64_ARGS":"-cef-disable-breakpad-cef-disable-d3d11-cef-disable-delaypageload-cef-force-occlusion-cef-disable-sandbox-cef-disable--seccomp-sandbox-no-cef-sandbox-disable-winh264-cef-disable-gpu-vgui-oldtraymenu-cef-single-process","BOX64_DYNAREC_BIGBLOCK":"3","BOX64_DYNAREC_CALLRET":"1","BOX64_DYNAREC_SAFEFLAGS":"0"}},{"processName":"steamwebhelper.exe","desc":"","vars":{"BOX64_DYNAREC_STRONGMEM":"1"}}]},{"name":"Flatout","desc":"","enabled":true,"items":[{"processName":"flatout.exe","desc":"","vars":{"BOX64_DYNAREC_BIGBLOCK":"3","BOX64_DYNAREC_CALLRET":"1"}}]}]}
{"id":1,"name":"Default","groups":[{"name":"Steam","desc":"","enabled":true,"items":[{"processName":"steam.exe","desc":"","vars":{"BOX64_ARGS":"-cef-disable-breakpad -cef-disable-d3d11 -cef-disable-delaypageload -cef-force-occlusion -cef-disable-sandbox -cef-disable--seccomp-sandbox -no-cef-sandbox -disable-winh264 -cef-disable-gpu -vgui -oldtraymenu -cef-single-process","BOX64_DYNAREC_BIGBLOCK":"3","BOX64_DYNAREC_CALLRET":"1","BOX64_DYNAREC_SAFEFLAGS":"0"}},{"processName":"steamwebhelper.exe","desc":"","vars":{"BOX64_DYNAREC_STRONGMEM":"1"}}]},{"name":"Flatout","desc":"","enabled":true,"items":[{"processName":"flatout.exe","desc":"","vars":{"BOX64_DYNAREC_BIGBLOCK":"3","BOX64_DYNAREC_CALLRET":"1"}}]}]}
8 changes: 1 addition & 7 deletions app/src/main/java/com/winlator/Box86_64RCFragment.java
Original file line number Diff line number Diff line change
Expand Up @@ -622,14 +622,8 @@ public void onTextChanged(CharSequence s, int start, int before, int count) {

@Override
public void afterTextChanged(Editable s) {
String text = s.toString();
if (text.contains(" ")) {
s.replace(0, s.length(), text.replace(" ", ""));
return;
}

if (item.getVarMap().containsKey(var.key)) {
var.value = text;
var.value = s.toString();
item.getVarMap().put(var.key, var.value);
}
}
Expand Down

0 comments on commit c576abf

Please sign in to comment.