aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2023-02-24 15:05:52 +0100
committerlonkaars <loek@pipeframe.xyz>2023-02-24 15:05:52 +0100
commit36c04e7b000035086b2e2b8020a2337c5c2fa390 (patch)
tree0024c96ad6172006b3bfec263917ac830676b137 /src/main.c
parentb69ddf1cd7123cc26b3936eda3c7c96a2750e612 (diff)
desktop compilation options in makefile
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c19
1 files changed, 9 insertions, 10 deletions
diff --git a/src/main.c b/src/main.c
index 910d2dd..1b8cdba 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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);