[nostalgia] Make core::init take FileSystem and return Context, add core::setWindowTitle

This commit is contained in:
2021-07-18 15:28:09 -05:00
parent 2d3602fd05
commit 643239e104
10 changed files with 38 additions and 17 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ namespace nostalgia::core {
using event_handler = int(*)(Context*);
ox::Error init(Context *ctx) noexcept;
ox::Result<Context> init(ox::FileSystem *fs) noexcept;
ox::Error run(Context *ctx) noexcept;