Fix a bunch of Windows UI x64 conversion warnings.
Fix some x64 type conversion warnings.
Return negative for UnscheduleEvent().

It usually won't be, but it could be negative.

Also some other minor warnings.
Fix some small constant-comparison type warnings.
Add default ADSR value for rate and curve type
Add default volume value for left/right channel
Merge pull request #1186 from unknownbrackets/warnings

Warning cleanup
Merge pull request #1187 from raven02/patch-7

Add default ADSR rate/ curvetype and default volume
Fix PSP_GE_DL_* in Qt debuggers
Merge pull request #1188 from mikusp/master

Fixes for Qt interface
Implement sceGeDrawSync().
If the interrupt is not run, don't flip gpuState.

Technically this is a hack, hopefully can remove it soon.
Implement sceGeListSync().