Merge pull request #25 from heuripedes/master

(Haiku) Fix build
Update libretro.h
Add support for Android profiler
.gitignore
Fast path for systemMessage when there's no log_cb
(Readability) DISPCNT (graphics.layerEnable) flags
(Readability) Window coordinates
(Readability) REG_WININ and REG_WINOUT mask groups
(Readability) io_registers[REG_VCOUNT] -> R_VCOUNT
Optimize window checks
Fix alignment
(Readability) Special effect register
(Readability) Special effect constants
Indentation
Optimize/clarify (x|-x)>>31 expressions
(Readability) Layer masks
Comments
Whitespace
(Readability) Video mode
Refactor mask selection code into an force-inlined function.