Skip to content
This repository was archived by the owner on Jul 21, 2025. It is now read-only.

Commit 46914f2

Browse files
authored
awd
1 parent 7c84862 commit 46914f2

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

kernel/main.cpp

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,20 @@ extern "C" void _main(u32 magic) {
3333

3434
bool quit = false;
3535

36+
37+
3638
while (quit != true) {
39+
u64 now = timer_get();
40+
u32 last = 0;
41+
42+
if (now != last) {
43+
last = now;
44+
}
45+
46+
3747
screen_clear(COLOR(0, 0, 7));
3848
test();
3949
screen_swap();
40-
state.frames++;
4150
}
4251

4352
log_print("\033[32m [AuroraOS]\033[0m - Shutting down... \n");

0 commit comments

Comments
 (0)