Small improve in scemp4 part 2
Fix space bug

VS2013 bad thing
multiple SDL joystick support, initial commit untested
Remove the hack
Scale bits better in MakePixelTexture().
Implement a very basic stencil upload.

This is not fast or efficient, but works.
Fix exit replacement hooks.
Fix Star Ocean movement problems due to memcpy.

It needs to handle overlap correctly, ugh.
Hook Star Ocean's function to upload stencil data.

Hurray, it seems to work properly.
Add support for 4444/5551/8888 stencil upload.
Disable the last shader properly.
Upload stencil by bit rather than by value.

Still not the most optimal way, probably, but this was an easy change.
Update disabled IsReallyAClear() code.

Not sure if there's still something wrong about depth.
Add basic decimation to the depal clut cache.
Disable vertex arrays not in use.
Disable vertex arrays before depal as well.
Enable the glClear() optimization.

It seems to help and so far have not noticed any problems.
Oops, remove an old wrong comment.
Merge pull request #6202 from unknownbrackets/gpu-minor

Decimate in clut stuff, adjustments to IsReallyAClear()
Get rid of depalFBOs when overwriting textures.

Just in case they are not always used as framebuffers.  We set to 0 later
anyway.