Merge pull request #3037 from CPkmn/patch-1

ISOFileSystem support for umd0:umd0
Update native (iOS buildfix.)

Should fix #2989.
Detach textures and fbs using a range check.

This is more compatible with the attach logic, and might also be faster.
Although, framebuffer destroys should not be that common.
For now, don't bind mismatched FBs at all.

But still don't create a garbage texture either.
Don't use render-to-texture with format mismatch.
Use gstate.isClearModeDepthWriteEnabled/ColorMask/AlphaMask()
Add gstate.isClearModeDepthWriteEnabled/ColorMask/AlphaMask()
Merge pull request #3040 from raven02/patch-4

Add GE state clearmode-related accessors
Merge pull request #3032 from lioncash/master

Fix two memory leaks in ArmCPUDetect.cpp
Qt buildfix.
Merge pull request #3030 from unknownbrackets/elf-fix

Report unexpected export sizes too
Fix Issue #2949
Fix NewUI bug involving the debug console on Win32. Also change the behaviour of WM_USER_LOG_STATUS_CHANGED to open and close the log window when enabled/disabled as appropriate.
Add game direct load support for new UI
Move debug logging toggle to Developer Options in NewUI. It was supposed to be here in the first place.
Merge pull request #3044 from raven02/patch-5

 Fix incorrect pixel sizing in full screen
Merge pull request #3050 from thedax/newUIBugFix

Win32/NewUI: Address debug log bug and placement in menu.
Reschedule in time spin loops.

It seems like rescheduling should potentially happen much more often, but
it could be a bit dangerous as far as compatibility.

Improves sound quality in Crimson Gem Saga and Where Is My Heart?
Rename KEYCODE to NKCODE (native key code) to stop name collision. Implement Blackberry keymapping.
Merge pull request #3055 from unknownbrackets/scheduling

Reschedule in time spin loops