[front] - bugfix & simplification: Simplify a boolean expression in CoreInterfaceNative.java.

Previously someone could have made a file named "zip" (without an extension) and it would attempt to load it as an actual ROM. Whoever does this with files other than ROMs is obviously pretty damn daft, however better get this out of the way before someone does do that.

Made it check for a file with a length of at least 5 characters in length because the minimum length for a file with a zip extension is 5 characters (ie. "a.zip")
[front] Simplify two if statement conditions in Utility.java the same way I did in the previous commit.

Also changed the cosmetic look of the simplified version of the condition that was simplified in the previous commit.
[gles2n64] Bugfix in Textures.cpp.

Fixes an if statement.

The way it is now, cache.hash.insert(cache.bottom->crc, NULL); gets executed regardless of the condition (the ; on the if statement terminates it).

You really don't want to set the bottom-most element's data of the texture cache to NULL unless the cached texture you're actually working with is the bottom-most texture itself.
bugfix: Fixed null pointer exception in PeripheralController.
OUYA: Do not use vibrator if running on OUYA

This will allow android.permission.VIBRATE to be removed from the manifest
without causing the app to crash in initControllers (assuming the removal
of this permission from the manifest is manditory - I am still waiting on
official from OUYA about this)
front: Removed diagnostics from Advanced menu

The controller functions have been moved to the input mapping activity.
Having device info as the only item in Diagnostics category didn't look
right, so I moved it to a separate preference.
OUYA: Exposed static fields from OuyaController
OUYA: Show OUYA button/ axis names when on OUYA

This is so the app meets OUYA's Interface Guidelines.  See
https://devs.ouya.tv/developers/docs/interface-guidelines for more
information.
OUYA: Default to OUYA Input map when on OUYA
OUYA: Fixed typo in comment
front: Edited version/ changelog for 2.1.2 update
front: Change version string in manifest to debug
bugfix: Fixed axis scaling for official Xbox 360 wireless controller.

This controller does not produce AXIS_HAT_X and AXIS_HAT_Y signals from
the D-pad, giving it a signature unlike all other Xbox 360 controller
clones I've tried (all wired).  Instead the D-pad signals are passed as
key events for this controller instead of motion (axis) events.

In fact, the key codes from the D-pad are 0 for all directions, making
it impossible to distinguish which direction was pressed.  Will have to
make a note of this on the forum.  Unfortunately this is an O/S level
problem that we can't address, and it's probably caused by this
controller's use of a vendor-specific (non-standard) HID profile.
Merge branch 'master' into littleguy77/gles2rice
gles2rice: Renamed OGLFragmentShaders => OGLES2FragmentShaders.

The fragment shader source code is so different between up and down-
stream that it might make more sense to maintain it as a completely
separate class.  The amount of code shared between the two is minimal,
and it's probably a lot easier to manually synchronize these small
sections than to maintain two very different implementations in the
same file.
gles2rice: Pull upstream versions of OGLFragmentShaders.

To match the eventual file structure of the fully-merged plugin.
gles2rice: Touchup to match upstream.

This commit can be directly diffed with the upstream version:
https://bitbucket.org/littleguy77/mupen64plus-video-rice-gles2-wip/commits/04e4bb063ca61a238379de7294ff8e7f73784dbf

Which produces
 .../jni/gles2rice}/src/OGLExtCombiner.cpp          |  22 ++--
 .../jni/gles2rice}/src/OGLGraphicsContext.cpp      |  53 ++++++++-
 .../jni/gles2rice}/src/OGLRender.cpp               |  72 ++++++++++--
 .../jni/gles2rice}/src/RSP_GBI2.h                  |   4 +-
 .../jni/gles2rice}/src/Render.cpp                  |  68 +++++------
 .../jni/gles2rice}/src/RenderBase.cpp              |   2 +-
 .../jni/gles2rice}/src/RenderBase.h                |   2 +-
 .../jni/gles2rice}/src/TextureFilters.cpp          |   1 +
 .../jni/gles2rice}/src/Video.cpp                   | 128 ++++++++++++++++++---
 .../jni/gles2rice}/src/Video.h                     |   1 +
 .../jni/gles2rice}/src/version.h                   |   2 +-
 11 files changed, 274 insertions(+), 81 deletions(-)