Add more complete implementation for custom new/delete, add panic

This commit is contained in:
2017-10-14 03:13:26 -05:00
parent dd4556e4e1
commit 70cee81406
15 changed files with 293 additions and 28 deletions
+2
View File
@@ -6,6 +6,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include "mem.hpp"
#include "core.hpp"
namespace nostalgia {
@@ -14,6 +15,7 @@ namespace core {
ox::Error init(Context *ctx) {
ox::Error err = 0;
err = initGfx(ctx);
initHeap(); // this does nothing in userland builds
return err;
}