Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
flycast
Commits
537e1172
Commit
537e1172
authored
Aug 19, 2015
by
TwistedUmbrella
Browse files
Add a missing check for native activity context
parent
955c9b99
Changes
1
Hide whitespace changes
Inline
Side-by-side
shell/android/src/com/reicast/emulator/emu/GL2JNIView.java
View file @
537e1172
...
...
@@ -37,7 +37,6 @@ import com.android.util.FileUtils;
import
com.reicast.emulator.GL2JNIActivity
;
import
com.reicast.emulator.GL2JNINative
;
import
com.reicast.emulator.MainActivity
;
import
com.reicast.emulator.R
;
import
com.reicast.emulator.config.Config
;
import
com.reicast.emulator.emu.OnScreenMenu.FpsPopup
;
import
com.reicast.emulator.periph.VJoy
;
...
...
@@ -186,7 +185,7 @@ public class GL2JNIView extends GLSurfaceView
// This is the game we are going to run
fileName
=
newFileName
;
if
(
Build
.
VERSION
.
SDK_INT
>=
Build
.
VERSION_CODES
.
GINGERBREAD
)
{
if
(
Build
.
VERSION
.
SDK_INT
>=
Build
.
VERSION_CODES
.
GINGERBREAD
&&
Config
.
nativeact
)
{
if
(
GL2JNINative
.
syms
!=
null
)
JNIdc
.
data
(
1
,
GL2JNINative
.
syms
);
}
else
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment