all repos — mgba @ f3d3c59df7dccf6afcf353c37de96f14c192584e

mGBA Game Boy Advance Emulator

GB: Initialize biosVf
Jeffrey Pfau jeffrey@endrift.com
Sat, 28 May 2016 18:30:42 -0700
commit

f3d3c59df7dccf6afcf353c37de96f14c192584e

parent

bd5b3036a12c40569ec4a9897437a041fa267c10

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M src/gb/gb.csrc/gb/gb.c

@@ -56,6 +56,7 @@ GBAudioInit(&gb->audio, 2048, &gb->memory.io[REG_NR52], GB_AUDIO_DMG); // TODO: Remove magic constant

gb->timer.p = gb; + gb->biosVf = 0; gb->romVf = 0; gb->sramVf = 0;