Просмотр исходного кода

android: Fix background color when starting emulation

Charles Lombardo 3 лет назад
Родитель
Сommit
13b29c3f49

+ 1 - 0
src/android/app/src/main/java/org/yuzu/yuzu_emu/activities/EmulationActivity.kt

@@ -76,6 +76,7 @@ open class EmulationActivity : AppCompatActivity(), SensorEventListener {
         enableFullscreenImmersive()
 
         setContentView(R.layout.activity_emulation)
+        window.decorView.setBackgroundColor(getColor(android.R.color.black))
 
         // Find or create the EmulationFragment
         emulationFragment =