1
0
Fork 0
forked from suyu/suyu

android: Update orientation on emulation fragment start

This commit is contained in:
t895 2024-01-03 18:29:41 -05:00
parent 82ea082997
commit 2b838b6d06

View file

@ -100,6 +100,7 @@ class EmulationFragment : Fragment(), SurfaceHolder.Callback {
*/ */
override fun onCreate(savedInstanceState: Bundle?) { override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState) super.onCreate(savedInstanceState)
updateOrientation()
val intentUri: Uri? = requireActivity().intent.data val intentUri: Uri? = requireActivity().intent.data
var intentGame: Game? = null var intentGame: Game? = null