Add more complete implementation for custom new/delete, add panic
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user