diff options
author | Flenk008 <frenk_0_0@hotmail.com> | 2023-03-09 18:59:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-09 18:59:53 +0100 |
commit | 569558ea9502b5e07ac4825ca94cadef0e65f0cf (patch) | |
tree | 0172ff30e85f4ba69c7516805c167cf4e011624b /src/ppusim/work.c | |
parent | b82afe9a241fc61c9b4cd64676c3ed804e240ae1 (diff) | |
parent | cf1effe02d99d74db684ff324a46fa32cf186417 (diff) |
Merge branch 'lonkaars:dev' into GameLogic
Diffstat (limited to 'src/ppusim/work.c')
-rw-r--r-- | src/ppusim/work.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ppusim/work.c b/src/ppusim/work.c index fcb80ca..3b9cee6 100644 --- a/src/ppusim/work.c +++ b/src/ppusim/work.c @@ -11,6 +11,10 @@ pthread_t* g_hh_ppusim_threads; unsigned g_hh_ppusim_core_count; hh_s_ppusim_screen g_hh_ppusim_screen; +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wint-to-pointer-cast" +#pragma GCC diagnostic ignored "-Wpointer-to-int-cast" + void* hh_ppusim_draw_thread(void* arg) { unsigned core = (unsigned long) arg; for (unsigned y = core; y < HH_PPU_SCREEN_HEIGHT; y += g_hh_ppusim_core_count) @@ -38,3 +42,4 @@ void hh_ppusim_draw_frame(SDL_Renderer* renderer) { } } +#pragma GCC diagnostic pop |