@@ -1,8 +1,8 @@
diff --git a/qml/base/EmuView.qml b/qml/base/EmuView.qml
-index 119fafb..7655ce1 100644
+index 119fafb..5e627ac 100644
--- a/qml/base/EmuView.qml
+++ b/qml/base/EmuView.qml
-@@ -1,9 +1,12 @@
+@@ -1,9 +1,17 @@
import QtQuick 2.0
import Sailfish.Silica 1.0
import EmuMaster 1.0
@@ -12,10 +12,15 @@
{
+ property bool startupAudioHack: true
+
++ Timer {
++ interval: 500; running: true; repeat: false
++ onTriggered: emuView.pause()
++ }
++
initialPage: Page {
allowedOrientations: Orientation.Landscape
-@@ -16,25 +19,40 @@ ApplicationWindow
+@@ -16,15 +24,15 @@ ApplicationWindow
anchors.fill: parent
@@ -28,24 +33,22 @@
- pageStack.push(settingsPage)
- }
- }
-+ IconButton {
-+ icon.source: "../../data/settings_button.png"
-+ x: 0
-+ y: 0
-+ onClicked: {
-+ emuView.pause()
-+ pageStack.push(settingsPage)
-+ }
-+ }
++ IconButton {
++ icon.source: "../../data/settings_button.png"
++ x: 0
++ y: 0
++ onClicked: {
++ emuView.pause()
++ pageStack.push(settingsPage)
++ }
++ }
}
}
}
-
- Component.onCompleted: {
+@@ -33,8 +41,22 @@ ApplicationWindow
frameItem.setEmuView(emuView)
-+ emuView.pause()
-+ }
-+
+ }
+
+ Connections {
+ target: emuView
+ onPauseStage2Finished: {
@@ -56,8 +59,8 @@
+ startupAudioHack = false
+ }
+ }
- }
-
++ }
++
SettingsPage {
id: settingsPage
}
|