Minor improvement of the desktop file
Core: Remove the ratio parameter in Zelda UCode's SizeForResampling func

It's only ever passed PB.RatioInt
CFrame: Handle close events that can't be vetoed.

This can happen during shutdown.

As long as we don't call event.Skip() the CFrame won't be closed yet, so even if we can't veto the shutdown will still happen in the correct order.
Fix a cast warning when compiling with MSVC

Would previously give a C4800 warning.
CFrame: Add fullscreen window styles to enable exclusive mode in OpenGL.

This is not implemented within the backend, but relies purely on driver heuristics.
CFrame: Always exit fullscreen before showing the stop dialog.
Core: Default initialize a pointer to nullptr in gdsp_do_dma()

The if-statement implies that this could fail in the switch statement somehow. If it does fail, then we'd be comparing with an uninitialized pointer.
x64Emitter: optimize immediate sizes

A nice alternative than trying to do it throughout the JIT.
Common: Use the OSX equivalent byte-swap functions
DSP: Fixes behaviour for audio dmas of length 0

This behaviour was tested on a real (wii) console.
DSP: Do updates to DSP interrupt bits asap

This was being scheduled on the next possible event, which caused
timing issues (in FFCC, AI interrupt would fire before DSP interrupt)
Common: Fix AsciiToHex returning true on overflow values

We should be checking errno against ERANGE.
DSP: Add minor delay to initial AIDMA interrupt

When AIDMA begins, the first thing it does is load the source address
and length into internal registers. It then triggers the AID interrupt.
Some begin the AIDMA process without all the data necessary for the
interrupt callback being set up already - they require a few more cycles
to set it up (the delay between the DMA being set to begin and the
interrupt firing). The value of this delay was approximated by tests on real
hardware.
Merge pull request #722 from lioncash/casts

Fix a cast warning when compiling with MSVC
Merge pull request #748 from lioncash/null

Core: Default initialize a pointer to nullptr in gdsp_do_dma()
Merge pull request #754 from FioraAeterna/immediateopt

x64Emitter: optimize immediate sizes
Merge pull request #760 from lioncash/swap

Common: Use the OSX equivalent byte-swap functions
Merge pull request #785 from lioncash/string

Common: Fix AsciiToHex returning true on overflow values
Merge pull request #676 from lioncash/zelda-ratio

Core: Remove the ratio parameter in Zelda UCode's SizeForResampling func
Merge pull request #691 from Armada651/veto_fix

CFrame: Handle close events that can't be vetoed.