Update build system

This commit is contained in:
2016-12-23 17:29:19 -06:00
parent 5d3c02e077
commit 1053351da6
25 changed files with 203 additions and 92 deletions
+20 -1
View File
@@ -1,8 +1,27 @@
/*
* Copyright 2016 gtalent2@gmail.com
*
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include "registers.hpp"
#include "../types.hpp"
namespace nostalgia {
namespace core {
Error initGfx() {
/* Sprite Mode ----\ */
/* ---\| */
/* Background 2 -\|| */
/* Objects -----\||| */
/* |||| */
REG_DISPCNT = 0x1400;
return 0;
}
}
}