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
1 changed files with 1 additions and 0 deletions

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