Change some for+iterator loops in GeckoCode.cpp and GeckoCodeConfig.cpp into foreach loops.
Fix name conventions of some of the foreach loop variables.
Add const qualifiers to two foreach loop variables for consistency.

Also fix a vector include I happened to notice. Should be "<vector>" not "vector"
Introduce a generic clamp function to clean up some similarly duplicated code.
Change the modified parameter in the Clamp function to be a pointer.

Makes it easier to identify the one being modified.
Merge pull request #36 from lioncash/generic-clamp-function

Introduce a generic clamp function to clean up some of the various 'if-else' clamps throughout parts of the codebase.
Merge pull request #34 from lioncash/geckocode-foreach

Change some for+iterator loops in GeckoCode.cpp and GeckoCodeConfig.cpp into foreach loops.
Simplified GetAreaCode() and GetHardwareModel() to simply use a map in comparisons.
Add static and const qualifiers to the maps.
Merge pull request #39 from lioncash/simplify-hle-net-funcs

Simplify two functions in WII_IPC_HLE_Device_net.cpp.
Give StringFromFormat a printf format attribute.
It gives StringFromFormat printf style arguments that should be type-checked against a format string.
Fix warnings found by StringFromFormat having printf style checking.
Fix a typo in EGL.h for setting mode.
Seems to have been a copy and paste issue where SetMode would always set to DETECT
This isn't right since mode should be set correctly by SetMode
Merge pull request #45 from Sonicadvance1/GLInterface-typo

Fix a typo in EGL.h for setting mode.
Remove Cache DL option from Android UI
This option has been removed entirely from Dolphin, so remove the option from Android
Remove function StringFromInt from StringUtil.cpp/.h. C++11 has std::to_string for this now.
Merge pull request #41 from Parlane/printf_warnings

Give StringFromFormat a printf format attribute.
Merge pull request #46 from Sonicadvance1/Android-removeDLCache

Remove Cache DL option from Android UI
Merge pull request #47 from lioncash/remove-stringfromint

Remove function StringFromInt from StringUtil.cpp/.h. C++11 has std::to_string for this now.
Pulseaudio: rewrite the pa backend with the async api

The default async api allow us to set some latency options. The old one (simple API) was the lazy way to go for usual audio where latency doesn't matter.

This also streams audio, so it should be a bit faster then the old one.