Turn b.sh in to a centralised CMake builder for Native(Linux/BSD), Android, iOS and Blackberry.
zero alpha if stencil op consistently says to zero for format 5551 as well
STENCIL_VALUE_UNKNOWN for DECR/INCR/INVERT
Merge pull request #4754 from raven02/patch-32

Zero alpha if stencil op consistently says to zero for format 5551
Revert "STENCIL_VALUE_UNKNOWN for DECR/INCR/INVERT"

This reverts commit 59d3b92e710de1ed89b75401e223b24de2ca40fe.

Revert "zero alpha if stencil op consistently says to zero for format 5551 as well"

This reverts commit ed07a7f4111de8ecd3b6feb4e32597bbd8809c0b.
Add a convenience helper to load a file oneshot.
Dynamically manage PPGe images so 50+ are okay.

Otherwise, we try to allocate all at once and could run out of ram.

Should fix #2242.
Use ReadEntireFile() a few more places.

This fixes one or two minor memory leaks.
Merge pull request #4756 from unknownbrackets/savedata

Load savedata images dynamically, cleanup oneshot file reads
Use multiple threads if available for softgpu.

VIVA OVERHEAD.  But it's actually generally faster this way, even with
only 2 cores running (but not a huge improvement then.)

On an i7, this improves things ~2.5x with 8 cores.
Optimize out some clear mode checks.

Since it's really common and the rasterizer is slow for large draws.
Merge pull request #4758 from unknownbrackets/softgpu2

Use multiple threads if available for softgpu.
Fix double free when saving.
As if softgpu wasn't slow enough already, implement bilinear filtering.
Allow held directional buttons to scroll up and down the list repeatedly.
Blackberry: Improve packaging.
Small tweaks to rel2 logging.
softgpu: Make texture lookups do less math.
softgpu: Avoid some ScreenToDrawing() overhead.
Move shared clut check to gstate.