Removed warnings by explicitly casting to `u8` for controllers
OGL: Fix brace and body placements

Also got rid of void argument specifiers. These are a carryover from C.
OGL: Clean up parameters for some functions.
OGL: Add static to a function in NativeVertexFormat
JIT: flush *after* the merged branch, not before

More correct and should avoid lots of redundant stores.
Merge pull request #822 from FioraAeterna/integerflush2

JIT: flush *after* the merged branch, not before
Fixed depth matrix shaders in OpenGL and Direct3D to be more precise. Fixes some graphical glitches in some games.
x64Emitter: refactor to support longer opcodes

Also add some new SSE4 opcodes.
Merge pull request #825 from FioraAeterna/x64emitter

x64Emitter: refactor to support longer opcodes
Merge pull request #790 from lioncash/ogl-cleanup

Small OGL cleanup
Merge pull request #823 from KScorp/depthmatrixshaders

Fixed depth matrix shaders in OpenGL and Direct3D to be more precise.
Fixes PP-shaders on !Mesa targets.

Seems mesa has a quirk where
define THING(x) (#x)
is the same as
define THING(x) (##x)

Didn't realize I messed it up since it just worked since I only tested on Mesa.
Merge pull request #827 from Sonicadvance1/fix-pp-config

Fixes PP-shaders on !Mesa targets.
Add Common/Event.h to the VS project files.
Add Common::Event::WaitFor(), which has the same semantics as std::condition_variable::wait_for() (with millisecond units).
Rewrite raw memcard threading code. Intended to fix issue 7484.

EXI memcard code now doesn't know specifics of how data is flushed to whatever backing storage is used.
GC raw memcard now flushes every 15 seconds if dirty, and on memcard destruction.
GCI folder now flushes only on memcard destruction.
Merge pull request #778 from shuffle2/fix-memcard-flush

Rewrite raw memcard threading code. Fixes issue 7484.
Qualcomm fixed screen rotation in their latest v66 development drivers.

The framebuffer is no longer rotated the wrong way around in Qualcomm's latest development drivers.
They did something right, only took them over a year.
Merge pull request #829 from Sonicadvance1/qualcomm-fixed-rotation

Qualcomm fixed screen rotation in their latest v66 development drivers.
Windows: Enable /Zc:rvalueCast solution-wide.