mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-10 04:56:24 +02:00
Bugfixes
This commit is contained in:
1 parent
a9087ea47c
commit
dccb7bafdd
5 files changed
+15
-6
No files matched your search
@@ -275,7 +275,6 @@ public class NativeActivity extends Activity {
|
||||
|
||||
// Adjust these as necessary
|
||||
private static String TAG = "NativeActivity";
|
||||
String packageName = "com.turboviking.rollerball";
|
||||
|
||||
// Graphics and audio interfaces
|
||||
private GLSurfaceView mGLSurfaceView;
|
||||
@@ -300,6 +299,7 @@ public class NativeActivity extends Activity {
|
||||
// Get system information
|
||||
ApplicationInfo appInfo = null;
|
||||
PackageManager packMgmr = getPackageManager();
|
||||
String packageName = getPackageName();
|
||||
try {
|
||||
appInfo = packMgmr.getApplicationInfo(packageName, 0);
|
||||
} catch (NameNotFoundException e) {
|
||||
@@ -344,7 +344,7 @@ public class NativeActivity extends Activity {
|
||||
ActivityManager am = (ActivityManager) getSystemService(Context.ACTIVITY_SERVICE);
|
||||
ConfigurationInfo info = am.getDeviceConfigurationInfo();
|
||||
return info.reqGlEsVersion >= 0x20000;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user