Merge pull request #44 from Subv/master

SVC: Implemented svcGetThreadId
Minor code formatting fix in svc.s
set default device so relative paths work in 3dmoo
temporary solution for 0x10 byte gpucmd alignment

fixes A LOT of gpu related issues

(temporary solution because big gpu refactor is coming soon)
Merge branch 'master' of github.com:smealum/ctrulib
Fix copy/paste error in FSFILE_Write documentation
Merge pull request #48 from endrift/master

Fix copy/paste error in FSFILE_Write documentation
Added CreateFile implementation, tested on hardware.

Information about using CreateFile was taken from Steel Diver: Sub Wars with the wonderful help of Citra.
Merge pull request #49 from archshift/createfile

Added CreateFile implementation, tested on hardware.
Minor correction
Correct SHDR_GetUniformRegister [WARNING: aemstro_as **doesn't** output this field correctly]
Make soc_fcntl.c more sane.
Add MEMPERM_DONTCARE to MemPerm
allow independent setting of double buffering
add macro for building RGB565 colors
use correct doubleBuf variable
add console
Merge pull request #50 from yuriks/memperm-dontcare

Add MEMPERM_DONTCARE to MemPerm
fix color code scanning
lighten up half bright green