[nostalgia] Make almost everyting noexcept
This commit is contained in:
@@ -10,35 +10,35 @@
|
||||
|
||||
namespace nostalgia::core {
|
||||
|
||||
ox::Error initGfx(Context*) {
|
||||
ox::Error initGfx(Context*) noexcept {
|
||||
return OxError(1);
|
||||
}
|
||||
|
||||
ox::Error shutdownGfx(Context*) {
|
||||
ox::Error shutdownGfx(Context*) noexcept {
|
||||
return OxError(1);
|
||||
}
|
||||
|
||||
ox::Error initConsole(Context*) {
|
||||
ox::Error initConsole(Context*) noexcept {
|
||||
return OxError(1);
|
||||
}
|
||||
|
||||
ox::Error loadBgTileSheet(Context*,
|
||||
int,
|
||||
ox::FileAddress,
|
||||
ox::FileAddress) {
|
||||
ox::FileAddress) noexcept {
|
||||
return OxError(1);
|
||||
}
|
||||
|
||||
void puts(Context *ctx, int column, int row, const char *str) {
|
||||
void puts(Context *ctx, int column, int row, const char *str) noexcept {
|
||||
for (int i = 0; str[i]; i++) {
|
||||
setTile(ctx, 0, column + i, row, static_cast<uint8_t>(charMap[static_cast<int>(str[i])]));
|
||||
}
|
||||
}
|
||||
|
||||
void setTile(Context*, int, int, int, uint8_t) {
|
||||
void setTile(Context*, int, int, int, uint8_t) noexcept {
|
||||
}
|
||||
|
||||
void setSprite(Context*, unsigned, unsigned, unsigned, unsigned, unsigned, unsigned, unsigned) {
|
||||
void setSprite(Context*, unsigned, unsigned, unsigned, unsigned, unsigned, unsigned, unsigned) noexcept {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user