From cc5fda1626ac77a74459bcfe3c422be3c2a5267b Mon Sep 17 00:00:00 2001 From: lonkaars Date: Fri, 7 Apr 2023 19:29:17 +0200 Subject: WIP more debugging --- src/ppusim/work.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/ppusim/work.c') diff --git a/src/ppusim/work.c b/src/ppusim/work.c index 977b2c4..c8964cd 100644 --- a/src/ppusim/work.c +++ b/src/ppusim/work.c @@ -25,10 +25,6 @@ void *hh_ppusim_draw_thread(void *arg) { } void hh_ppusim_draw_frame(SDL_Renderer *renderer) { - hh_ppu_data_t *aux = &g_hh_ppusim_vram[HH_PPU_VRAM_AUX_OFFSET]; - bool reset = HH_RESIZE(aux[1], 2, 2); - if (reset) memset(g_hh_ppusim_vram, 0x0000, 0xffff * sizeof(hh_ppu_data_t)); - for (unsigned core = 0; core < g_hh_ppusim_core_count; core++) pthread_create(&g_hh_ppusim_threads[core], NULL, hh_ppusim_draw_thread, (void *)(unsigned long)core); for (unsigned core = 0; core < g_hh_ppusim_core_count; core++) pthread_join(g_hh_ppusim_threads[core], NULL); -- cgit v1.2.3