[nostalgia/core] Move puts function out of core implementations to core
This commit is contained in:
@@ -55,8 +55,10 @@ ox::Error shutdownGfx() {
|
||||
return OxError(0);
|
||||
}
|
||||
|
||||
ox::Error initConsole(Context*) {
|
||||
return OxError(1);
|
||||
ox::Error initConsole(Context *ctx) {
|
||||
constexpr auto TilesheetAddr = "/TileSheets/Charset.ng";
|
||||
constexpr auto PaletteAddr = "/Palettes/Charset.npal";
|
||||
return loadTileSheet(ctx, TileSheetSpace::Background, 0, TilesheetAddr, PaletteAddr);
|
||||
}
|
||||
|
||||
SDL_Color createSDL_Color(Color nc) {
|
||||
@@ -154,9 +156,6 @@ void draw() {
|
||||
SDL_RenderPresent(renderer);
|
||||
}
|
||||
|
||||
void puts(Context*, int, const char*) {
|
||||
}
|
||||
|
||||
void setTile(Context*, int, int, int, uint8_t) {
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user