From 4b64b2bd17433f427197af3679c9c8f5ad5ad1a4 Mon Sep 17 00:00:00 2001 From: hachem Date: Thu, 27 Aug 2026 09:05:17 +0200 Subject: add: application run loop + logging --- src/main.cpp | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'src/main.cpp') 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 +#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; } -- cgit v1.3