diff options
Diffstat (limited to 'applications/init/main.cpp')
-rw-r--r-- | applications/init/main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/applications/init/main.cpp b/applications/init/main.cpp index 7aa2a38..a3f75e4 100644 --- a/applications/init/main.cpp +++ b/applications/init/main.cpp @@ -9,6 +9,7 @@ uint32_t fb_height; uint32_t fb_pitch; int main(int, char **) { + mercury::syscall::get_framebuffer(fb, fb_width, fb_height, fb_pitch); for (uint32_t y = 0; y < fb_height; ++y) for (uint32_t x = 0; x < fb_width; ++x) { @@ -20,5 +21,6 @@ int main(int, char **) { fb[y * fb_pitch + x] = mercury::syscall::encode_color(c); } mercury::syscall::draw_framebuffer(); - return 0; + + return 1 / 0; } |