Mercurial > repos > blastem
view android/src/com/retrodev/blastem/BlastEmActivity.java @ 995:2bc27415565b
Fix some stuff with interrupt timing. The change in adjust_int_cycle gets Overdrive working again (vint was not being preferred over hint in some cases). One of the changes seems to have broken Fatal Rewind again, but no other regressions that I can see.
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sat, 30 Apr 2016 08:37:55 -0700 |
parents | 4f46b4cd5035 |
children |
line wrap: on
line source
package com.retrodev.blastem; import org.libsdl.app.SDLActivity; import android.os.Build; import android.os.Bundle; import android.view.View; public class BlastEmActivity extends SDLActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); //set immersive mode on devices that support it if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { View blah = mSurface; blah.setSystemUiVisibility( View.SYSTEM_UI_FLAG_FULLSCREEN | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION | View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY ); } } }