D3D11: Use appropriate shader for PEEK_Z.

Trying to use GetDepthMatrixProgram outside of
TCacheEntry::FromRenderTarget is a bad idea, so don't.  Instead, use a
shader which only copies the input.

Fixes lens flare depth test in Twilight Princess. See
http://code.google.com/p/dolphin-emu/issues/detail?id=5999 .
Add dsp rom hashes to movie header.

Also fix a random typo.
DSound: use DSound notifications to produce sound.

Pretty straightforward; IDirectSoundNotify lets you register for
notifications after a certain amount of sound has played, so use that
instead of depending on Update() notifications from the CPU thread.

Also, while I'm here, reduce the buffer size by a factor of 4; this seems
to reduce the latency, although the difference is sort of subtle.
[ARM] Minor cleanup to lXX and stX. Fixes a bug.
Fixes an issue in lXX where if the instruction was an update instruction and was a register address offset that we would add garbage values to the
writeback register.
Does some minor cleanups as well which save a few instructions here and there.
Add the ability to determine the Mali driver version.
This is the only way we can determine the video driver version with mali.
Really it's a good thing that they only push driver updates once every two years, makes it easy to determine what driver anybody is running.
Support checking for the Mali-T7xx line of GPUs.
They are similar enough that they will share bugs with their drivers, so make them fall under the same Mali-Txxx umbrella of bug issues.
If there is ever a need in the future for having separate bugs depending on family, we can support that then.
Added BBA TAP backend for OS X.

TUN/TAP OS X needs to be installed, and /dev/tap0 chown’d to the user.
The tap0 network interface doesn’t appear until /dev/tap0 is opened by
the program, so all bridging must be done once the game is already
running.

Unfortunately, bridging seems to be broken on OS X, so this does not
actually work over LAN (yet!).
Merge pull request #262 from SlEePlEs5/master

Added BBA TAP backend for OS X.
JitIL: fix carry computation for srawi.

The carry computation needs to be based on the input value, not the output
of the shift.
Merge pull request #272 from magumagu/jitil-fix-srawi

JitIL: fix carry computation for srawi.
Merge pull request #257 from Sonicadvance1/LoadStore-Fix

[ARM] Minor cleanup to lXX and stX. Fixes a bug.
[ARM] Implements more fastmem instructions in lXX.
There are a few instructions in lXX that aren't currently fastmem capable due to using a register offset.
This implements fastmem for those few instructions.
Really I'll be changing how ARMv7 fastmem works in the future so this is really temporary code.
Just don't know how long it'll stay.
This relies on PR #257
Merge pull request #258 from Sonicadvance1/More-Fastmem

[ARM] Implements more fastmem instructions in lXX.
Merge pull request #263 from Sonicadvance1/DetermineMaliVersion

Add Mali driver version check and support of checking for Mali-T7xx
PixelShaderGen: delete extra parenthesis.

Without this patch, we can generate a pixel shader which doesn't compile
in some cases.
Merge pull request #261 from magumagu/pixelshadergen-extra-paren

PixelShaderGen: delete extra parenthesis
Fix crash when pressing Tab

When pressing Tab for a long time, Dolphin will sooner or later crash
because the result of FindFocus() has become NULL (toctou).
Truncate the path on logging

Cmake compiles we an absolute path, so the macro __FILE__ also has the absolute file in it.
It seems that gcc doesn't provide macros for the basename, so we have to truncate them in c directly:
https://stackoverflow.com/questions/8487986/file-macro-shows-full-path
Merge pull request #92 from Tilka/tab_crash

Fix crash when pressing Tab
Common: Add a 'Flag' class that is used to encapsulate a boolean flag manipulated from several threads