haze: abstract firmware version and serial number fetch

This commit is contained in:
Liam
2023-04-18 18:36:25 -04:00
committed by SciresM
parent 9f83b3c838
commit 8e2eca2004
6 changed files with 83 additions and 21 deletions

View File

@@ -17,6 +17,9 @@
#include <haze/console_main_loop.hpp>
int main(int argc, char **argv) {
/* Load device firmware version and serial number. */
HAZE_R_ABORT_UNLESS(haze::LoadDeviceProperties());
/* Run the application. */
haze::ConsoleMainLoop::RunApplication();