Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
Flyinghead
9beafa0a98 zero-init sh4 context when no vmem is available
Some checks failed
Android CI / build (push) Has been cancelled
C/C++ CI / x86_64-w64-mingw32 (push) Has been cancelled
C/C++ CI / apple-ios (push) Has been cancelled
C/C++ CI / i686-pc-windows-msvc (push) Has been cancelled
C/C++ CI / x86_64-pc-windows-msvc (push) Has been cancelled
C/C++ CI / libretro-x86_64-pc-linux-gnu (push) Has been cancelled
C/C++ CI / libretro-x86_64-w64-mingw32 (push) Has been cancelled
C/C++ CI / apple-darwin (push) Has been cancelled
C/C++ CI / x86_64-pc-linux-gnu (push) Has been cancelled
Nintendo Switch CI / libretro (push) Has been cancelled
Nintendo Switch CI / standalone (push) Has been cancelled
Windows UWP CI / build (push) Has been cancelled
Issue #439
2022-01-03 18:42:11 +01:00

View file

@ -468,6 +468,7 @@ void _vmem_init_mappings()
#if FEAT_SHREC != DYNAREC_NONE #if FEAT_SHREC != DYNAREC_NONE
bm_vmem_pagefill((void**)p_sh4rcb->fpcb, sizeof(p_sh4rcb->fpcb)); bm_vmem_pagefill((void**)p_sh4rcb->fpcb, sizeof(p_sh4rcb->fpcb));
#endif #endif
memset(&p_sh4rcb->cntx, 0, sizeof(p_sh4rcb->cntx));
mem_b.size = RAM_SIZE; mem_b.size = RAM_SIZE;
mem_b.data = (u8*)malloc_pages(RAM_SIZE); mem_b.data = (u8*)malloc_pages(RAM_SIZE);