android: Update orientation on emulation fragment start

master
t895 2024-01-03 18:29:41 +07:00
parent 82ea082997
commit 2b838b6d06
1 changed files with 1 additions and 0 deletions

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