[nostalgia/core] Get building with GLFW (it has a better Conan package than SDL)
This commit is contained in:
@@ -22,7 +22,7 @@ target_link_libraries(
|
||||
nostalgia
|
||||
NostalgiaWorld
|
||||
$<$<STREQUAL:${NOSTALGIA_BUILD_TYPE},GBA>:NostalgiaCore-GBA>
|
||||
$<$<STREQUAL:${NOSTALGIA_BUILD_TYPE},Native>:NostalgiaCore-SDL>
|
||||
$<$<STREQUAL:${NOSTALGIA_BUILD_TYPE},Native>:NostalgiaCore-GLFW>
|
||||
)
|
||||
|
||||
install(
|
||||
|
@@ -41,7 +41,7 @@ ox::Error run(ox::FileSystem *fs) noexcept {
|
||||
oxReturnError(core::loadSpriteTileSheet(&ctx, 0, TileSheetAddr, PaletteAddr));
|
||||
oxReturnError(core::initConsole(&ctx));
|
||||
core::puts(&ctx, 10, 9, "DOPENESS!!!");
|
||||
core::setEventHandler(eventHandler);
|
||||
core::setEventHandler(&ctx, eventHandler);
|
||||
oxReturnError(core::run(&ctx));
|
||||
oxReturnError(core::shutdownGfx(&ctx));
|
||||
return OxError(0);
|
||||
|
Reference in New Issue
Block a user