diff options
author | lonkaars <loek@pipeframe.xyz> | 2023-02-24 15:05:52 +0100 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2023-02-24 15:05:52 +0100 |
commit | 36c04e7b000035086b2e2b8020a2337c5c2fa390 (patch) | |
tree | 0024c96ad6172006b3bfec263917ac830676b137 /src/main.c | |
parent | b69ddf1cd7123cc26b3936eda3c7c96a2750e612 (diff) |
desktop compilation options in makefile
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 19 |
1 files changed, 9 insertions, 10 deletions
@@ -1,6 +1,5 @@ -#include <malloc.h> +#include <stdlib.h> #include <math.h> -#include <stdio.h> #include "ppu/ppu.h" #include "ppu/consts.h" @@ -16,17 +15,17 @@ hh_s_ppu_loc_sprite* hh_debug_circle_sprite() { } int main() { - hh_ppu_init(); + // hh_ppu_init(); - hh_ppu_update_aux((hh_s_ppu_loc_aux) { - .bg_shift_x = 0, - .bg_shift_y = 0, - .fg_fetch = 0, - .sysreset = 0, - }); + // hh_ppu_update_aux((hh_s_ppu_loc_aux) { + // .bg_shift_x = 0, + // .bg_shift_y = 0, + // .fg_fetch = 0, + // .sysreset = 0, + // }); hh_s_ppu_loc_sprite* sprite = hh_debug_circle_sprite(); - hh_ppu_update_sprite(0, *sprite); + // hh_ppu_update_sprite(0, *sprite); free(sprite); while (1); |