Fix MOGA detection, change options to paths

This commit is contained in:
Stefanos Kornilios Mitsis Poiitidis 2014-01-03 18:55:25 +01:00
parent b13ed8eb3a
commit 12b29f003a
2 changed files with 4 additions and 4 deletions

View File

@ -8,7 +8,7 @@
<string name="browser_path">Default System Path</string>
<string name="games_path">Storage Path (location of .gid .cdi or .cdh images)</string>
<string name="game_path">Default Game Storage</string>
<string name="select_stretch">Stretch to Fullscreen</string>
<string name="select_stretch">Widescreen Mode</string>
<string name="set_frameskip">Frameskipping Amount</string>
<string name="select_render">PVR Rendering</string>
<string name="games_listing">Available Dreamcast Games</string>
@ -25,8 +25,8 @@
<!-- Nav Drawer Menu Items -->
<string-array name="nav_drawer_items">
<item>Browser</item>
<item>Options</item>
<item>Emulator</item>
<item>Paths</item>
<item>Settings</item>
<item>About</item>
</string-array>

View File

@ -193,7 +193,7 @@ public class MOGAInput
{
JNIdc.hide_osd();
if (event.getState() == ACTION_CONNECTED) {
if (event.getState() == StateEvent.STATE_CONNECTION && event.getAction() == ACTION_CONNECTED) {
Toast.makeText(act.getApplicationContext(), "MOGA Connected!", Toast.LENGTH_SHORT).show();
isActive = true;
}