diff --git a/shell/android/res/values-pl/strings.xml b/shell/android/res/values-pl/strings.xml
index d65cfa4bf..58fa9253c 100644
--- a/shell/android/res/values-pl/strings.xml
+++ b/shell/android/res/values-pl/strings.xml
@@ -6,9 +6,9 @@
Ścieżka obrazów (lokalizacja obrazów dysków .gdi, .chd or .cdi)
Domyślna ścieżka obrazów
- Uruchom BIOS'a Dreamcast'a
- Brak BIOS'u. BIOS Dreamcast'a jest potrzebny, aby ten emulator działał. Skopiuj BIOS do %1$s/data/dc_boot.bin
- Brak Flash'a. Plik Flash Dreamcast'a jest potrzebny, aby ten emulator działał. Skopiuj plik Flash do %1$s/data/dc_flash.bin You have to provide the BIOS
+ Uruchom BIOS\'a Dreamcast\'a
+ Brak BIOS\'u. BIOS Dreamcast\'a jest potrzebny, aby ten emulator działał. Skopiuj BIOS do %1$s/data/dc_boot.bin
+ Brak Flash\'a. Plik Flash Dreamcast\'a jest potrzebny, aby ten emulator działał. Skopiuj plik Flash do %1$s/data/dc_flash.bin You have to provide the BIOS
URUCHOM BIOS
WYBIERZ BIEŻĄCY FOLDER
@@ -23,7 +23,7 @@
PVR Rendering (na razie nie działa)
Ustaw domyślny dysk
- Dostępne gry Dreamcast'a
+ Dostępne gry Dreamcast\'a
Dostosuj układ przycisków dotykowych
Uruchom Edytor
@@ -49,10 +49,10 @@
MOGA Pro przyłączona!
MOGA przyłączona!
- reicast jest emulatorem dreamcast'a
+ reicast jest emulatorem dreamcast\'a
Wersja: %1$s [%2$s]
-
+
- Controller A
- Controller B
- Controller C
diff --git a/shell/android/src/com/reicast/emulator/emu/GL2JNIActivity.java b/shell/android/src/com/reicast/emulator/emu/GL2JNIActivity.java
index b7bee4a63..417f15229 100644
--- a/shell/android/src/com/reicast/emulator/emu/GL2JNIActivity.java
+++ b/shell/android/src/com/reicast/emulator/emu/GL2JNIActivity.java
@@ -211,18 +211,6 @@ public class GL2JNIActivity extends Activity {
// Create the actual GLES view
mView = new GL2JNIView(getApplication(), fileName, false, prefs.getInt("depth_render", 24), 0, false);
setContentView(mView);
-
- String menu_spec;
- if (isXperiaPlay) {
- menu_spec = getApplicationContext().getString(R.string.menu_button);
- } else {
- menu_spec = getApplicationContext().getString(R.string.back_button);
- }
- Toast.makeText(
- getApplicationContext(),
- getApplicationContext()
- .getString(R.string.bios_menu, menu_spec),
- Toast.LENGTH_SHORT).show();
//setup mic
boolean micPluggedIn = prefs.getBoolean("mic_plugged_in", false);
@@ -526,12 +514,8 @@ public class GL2JNIActivity extends Activity {
if (keyCode == KeyEvent.KEYCODE_BACK) {
return false;
}
- } else if (isOuyaOrTV) {
- if (keyCode == OuyaController.BUTTON_R3) {
- return showMenu();
- }
} else {
- if (keyCode == KeyEvent.KEYCODE_BACK) {
+ if (keyCode == KeyEvent.KEYCODE_BACK || keyCode == OuyaController.BUTTON_MENU) {
return showMenu();
}
}
diff --git a/shell/android/src/com/reicast/emulator/emu/GL2JNIView.java b/shell/android/src/com/reicast/emulator/emu/GL2JNIView.java
index 0c65fe97e..3906cfe3d 100644
--- a/shell/android/src/com/reicast/emulator/emu/GL2JNIView.java
+++ b/shell/android/src/com/reicast/emulator/emu/GL2JNIView.java
@@ -106,6 +106,10 @@ public class GL2JNIView extends GLSurfaceView
}
});
}
+
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {
+ setPreserveEGLContextOnPause(true);
+ }
vib=(Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE);
@@ -794,11 +798,13 @@ private static class ContextFactory implements GLSurfaceView.EGLContextFactory
public void onSurfaceChanged(GL10 gl,int width,int height)
{
+ Log.d("GL2JNIView Renderer", "onSurfaceChanged");
JNIdc.rendinit(width,height);
}
public void onSurfaceCreated(GL10 gl,EGLConfig config)
{
+ Log.d("GL2JNIView Renderer", "onSurfaceCreated");
onSurfaceChanged(gl, 800, 480);
}
diff --git a/shell/android/src/com/reicast/emulator/periph/Gamepad.java b/shell/android/src/com/reicast/emulator/periph/Gamepad.java
index c5d907d06..918552d15 100644
--- a/shell/android/src/com/reicast/emulator/periph/Gamepad.java
+++ b/shell/android/src/com/reicast/emulator/periph/Gamepad.java
@@ -71,7 +71,7 @@ public class Gamepad {
OuyaController.BUTTON_DPAD_LEFT, key_CONT_DPAD_LEFT,
OuyaController.BUTTON_DPAD_RIGHT, key_CONT_DPAD_RIGHT,
- OuyaController.BUTTON_MENU, key_CONT_START,
+ OuyaController.BUTTON_R3, key_CONT_START,
KeyEvent.KEYCODE_BUTTON_START, key_CONT_START
};
}