Merge pull request #16312 from lvonasek/compat_openxr_splitsecond

OpenXR - Compatibility for Split/Second game
This commit is contained in:
Henrik Rydgård 2022-11-02 22:13:29 +01:00 committed by GitHub
commit 074fb47576
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 0 deletions

View file

@ -1235,6 +1235,12 @@ public abstract class NativeActivity extends Activity {
// The return value is sent to C++ via seqID.
public void inputBox(final String seqID, final String title, String defaultText, String defaultAction) {
// Workaround for issue #13363 to fix Split/Second game start
if (isVRDevice()) {
NativeApp.sendInputBox(seqID, false, defaultText);
return;
}
final FrameLayout fl = new FrameLayout(this);
final EditText input = new EditText(this);
input.setGravity(Gravity.CENTER);

View file

@ -1120,6 +1120,12 @@ ULJM05162 = 1.0
ULJM05599 = 1.0
ULUS10076 = 1.0
# Split/Second
NPJH50371 = 10.0
ULES01402 = 10.0
ULJM05812 = 10.0
ULUS10513 = 10.0
# Spot the Differences!
NPEZ00107 = 1.0
NPEZ00108 = 1.0