mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-02-05 13:06:52 +00:00
Reduce some logging
This commit is contained in:
parent
76cb31cdd5
commit
8cd755942b
@ -272,7 +272,6 @@ public class NativeActivity extends Activity {
|
||||
Log.e(TAG, "Invalid rotation: " + rotString);
|
||||
return;
|
||||
}
|
||||
Log.i(TAG, "Rotation requested: " + rot);
|
||||
switch (rot) {
|
||||
case 0:
|
||||
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED);
|
||||
@ -296,7 +295,6 @@ public class NativeActivity extends Activity {
|
||||
@TargetApi(14)
|
||||
private void updateSystemUiVisibility() {
|
||||
String immersive = NativeApp.queryConfig("immersiveMode");
|
||||
Log.i(TAG, "Immersive: " + immersive);
|
||||
boolean useImmersive = immersive.equals("1") && Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT;
|
||||
|
||||
int flags = 0;
|
||||
@ -599,7 +597,7 @@ public class NativeActivity extends Activity {
|
||||
}
|
||||
return super.onGenericMotionEvent(event);
|
||||
}
|
||||
|
||||
|
||||
@SuppressLint("NewApi")
|
||||
@Override
|
||||
public boolean onKeyDown(int keyCode, KeyEvent event) {
|
||||
@ -838,4 +836,4 @@ public class NativeActivity extends Activity {
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
@ -329,7 +329,7 @@ uint8_t *VFSReadFile(const char *filename, size_t *size) {
|
||||
int prefix_len = (int)strlen(entries[i].prefix);
|
||||
if (prefix_len >= fn_len) continue;
|
||||
if (0 == memcmp(filename, entries[i].prefix, prefix_len)) {
|
||||
ILOG("Prefix match: %s (%s) -> %s", entries[i].prefix, filename, filename + prefix_len);
|
||||
// ILOG("Prefix match: %s (%s) -> %s", entries[i].prefix, filename, filename + prefix_len);
|
||||
uint8_t *data = entries[i].reader->ReadAsset(filename + prefix_len, size);
|
||||
if (data)
|
||||
return data;
|
||||
|
@ -280,7 +280,6 @@ bool Texture::LoadZIM(const char *filename) {
|
||||
|
||||
int flags;
|
||||
int num_levels = ::LoadZIM(filename, &width[0], &height[0], &flags, &image_data[0]);
|
||||
ILOG("ZIM loaded: %i levels", num_levels);
|
||||
if (!num_levels)
|
||||
return false;
|
||||
if (num_levels >= ZIM_MAX_MIP_LEVELS)
|
||||
@ -310,8 +309,6 @@ bool Texture::LoadZIM(const char *filename) {
|
||||
|
||||
GL_CHECK();
|
||||
|
||||
|
||||
ILOG("Gen-binding texture");
|
||||
glGenTextures(1, &id_);
|
||||
glBindTexture(GL_TEXTURE_2D, id_);
|
||||
SetTextureParameters(flags);
|
||||
|
Loading…
x
Reference in New Issue
Block a user