diff options
| author | hachem <im@hachem.wtf> | 2026-08-27 09:05:17 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2026-08-27 09:05:17 +0200 |
| commit | 4b64b2bd17433f427197af3679c9c8f5ad5ad1a4 (patch) | |
| tree | 7c22cd4fd1d4d3d1d69a8b992adae3e5e6f9e898 /src/main.cpp | |
| parent | bbe77bbbfbac0043a29d76817af0991996033f93 (diff) | |
add: application run loop + logging
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp index d518fe6..bb72b0b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,6 +1,17 @@ -#include <print> +#include "core/application.h" -auto main() -> int +auto main(int argc, char** argv) -> int { - std::println("Hachem's stupid debugger"); + (void)argc; + (void)argv; + + Hsdbg::ApplicationSpec spec; + spec.name = "hsdbg"; + spec.width = 1600; + spec.height = 900; + + Hsdbg::Application app(spec); + app.run(); + + return 0; } |
