Fix return value of sceKernelSuspendDispatchThread.
Don't reschedule while interrupts are disabled.
Resume dispatch on thread start.
sceKernelResumeDispatchThread() always returns 0.
Semaphores always wait when others are waiting.
Don't re-wake a thread already woken by delete.

Arg, I thought I'd changed this already.
Prevent waiting on semas while dispatch disabled.

Does relatively well on tests this way.
Don't wait on mutexes with dispatch disabled.

Fixes #339.
Better fit the setting screen for Iphone 4/4S (3.5inch)
Merge pull request #1071 from unknownbrackets/dispatch

Dispatch thread fixes
Merge pull request #1072 from raven02/patch-14

Better fit setting screen for Iphone 4/4S (3.5inch)
Enable ColorTest
minor cleanup only
Merge pull request #1073 from raven02/patch-15

Enable ColorTest in Fragment Shader
Qt build fix
Merge pull request #1077 from Xele02/qt_work

Qt build fix
Merge remote-tracking branch 'upstream/master' into fps2

Conflicts:
	pspautotests
Merge branch 'fps2' of https://github.com/leejuiping/ppsspp into fps2