Fix aspect ratio mistake for hw scaler affecting portrait mode
Revert "Detect Peace Walker's anti-cheat hash func"
Merge pull request #6594 from hrydgard/revert-6506-replace-funcs

Revert "Detect Peace Walker's anti-cheat hash func"
Improve a crash in disassembly on game shutdown.
Improve function range detection.

This improves a pattern like this:

  j endOfLoop;
  li v0, 0;
  startOfLoop:
  addiu v0, v0, 1
endOfLoop:
  bne v0, a0, startOfLoop;
  nop
  jr ra
  nop

Where it jumps to the end of the loop, which only jumps back to the top of
the loop.  This might misdetect a few cases of tail recursion, but only
when the funcs are right next to each other.

Also, stops scanning at a jr ra, which was causing funcs to be incorrectly
long in cases.
Detect screen size and choose resolution defaults accordingly.

Also prevent recreate on older Android versions where it doesn't seem reliable.
Show native display resolution under system information on Android
Fix probable bug in deadzone calculation etc for onscreen dpad. May help #6585

The bug would manifest itself on large or small "scale" values.