Added logic to zero nes_shm for Qt gui

This commit is contained in:
mjbudd77 2021-02-06 13:23:23 -05:00
parent 35bb4be6f6
commit cf04b90ef1
1 changed files with 2 additions and 0 deletions

View File

@ -39,6 +39,8 @@ nes_shm_t *open_nes_shm(void)
vaddr = (nes_shm_t*)malloc( sizeof(struct nes_shm_t) ); vaddr = (nes_shm_t*)malloc( sizeof(struct nes_shm_t) );
memset(vaddr, 0, sizeof(struct nes_shm_t));
//int shmId; //int shmId;
//struct shmid_ds ds; //struct shmid_ds ds;