[turbine] Add some type safety to application data
All checks were successful
Build / build (push) Successful in 2m34s

This commit is contained in:
2024-03-16 18:11:14 -05:00
parent 05d08a7687
commit aa43cb3d8d
5 changed files with 51 additions and 13 deletions

View File

@ -17,7 +17,7 @@ class Context {
UpdateHandler updateHandler = [](Context&) -> int {return 0;};
keel::Context keelCtx;
KeyEventHandler keyEventHandler = nullptr;
void *applicationData = nullptr;
ox::Optional<std::array<char, sizeof(WrapBase) + sizeof(uintptr_t)>> applicationData;
// GBA impl data /////////////////////////////////////////////////////////
bool running = true;