Fixes GL fix, which was broken. Added -g flag to cmake, so we can have debug builds.
Fixes null ptr in gcc, probably to do with operator precedence. @Bigpet was all over this one.
Merge pull request #138 from bagedevimo/nix-fix

More *nix fixes.
Fix missing unary increment operator in DisAsmFrame
Memset the ringbuffer in m_fs_config by the size of the actual ringbuffer struct, not FsRingBufferConfig.
Merge pull request #140 from lioncash/misc-things

Fix missing unary increment operator in DisAsmFrame
Merge pull request #141 from lioncash/bounds

Memset the ringbuffer in m_fs_config by the size of the actual ringbuffer struct, not FsRingBufferConfig's size..
Fix a case where m_hdd_file is passed to m_file uninitialized.

Due to the way initializations work in C++, despite the order of the initializations in the initialization list, it will actually do the initializing in the order the class variables are defined.
Move VHDDManager over to using vector. Also fix some variable and function name typos.
Merge pull request #142 from lioncash/hdd

Misc HDD stuff
Updated the crypto engine:

- Updated AES and SHA-1 source code;
- Fixed a few code warnings;
- Implemented EDAT/SDAT decryption.

Started SPURS implementation:
- Added an internal SPURSManager class draft;
- Added several drafts for cellSpurs functions.

Implemented key.edat decryption in sceNpDrmIsAvailable:
- NOTE: Currently, the decrypted key.edat is stored under dev_hdd1/titleID and the user must replace this file in dev_hdd0. This behavior will change in the future as it's currently intended for controlled testing only.
Organized the cellGcmSys_init() functions in a more sane manner.
Reordered functions for organization.
Function declaration at top needed for another function.
Added cellGcmSetUserHandler that already existed but was never added.
Add FindGLEW to CMake modules along with some compiler flags
Rename xor to xor_ to allow build to continue in compliant compilers
Merge pull request #144 from acmiyaguchi/gcm

Reorganize cellGcmSys module
Merge pull request #146 from darkf/stuff

Add FindGLEW to CMake build and fix naming error
Merge pull request #145 from Nekotekina/master

Fixed conflicts.