diff --git a/src/gb/test/core.c b/src/gb/test/core.c index 09f9ca25a..a8638012b 100644 --- a/src/gb/test/core.c +++ b/src/gb/test/core.c @@ -29,6 +29,7 @@ M_TEST_DEFINE(reset) { struct mCore* core = GBCoreCreate(); assert_non_null(core); assert_true(core->init(core)); + mCoreInitConfig(core, NULL); core->reset(core); core->deinit(core); } @@ -37,6 +38,7 @@ M_TEST_DEFINE(loadNullROM) { struct mCore* core = GBCoreCreate(); assert_non_null(core); assert_true(core->init(core)); + mCoreInitConfig(core, NULL); assert_false(core->loadROM(core, NULL)); core->reset(core); core->deinit(core); diff --git a/src/gb/test/mbc.c b/src/gb/test/mbc.c index a9448892b..5498d004d 100644 --- a/src/gb/test/mbc.c +++ b/src/gb/test/mbc.c @@ -16,6 +16,7 @@ M_TEST_SUITE_SETUP(GBMBC) { GBSynthesizeROM(vf); struct mCore* core = GBCoreCreate(); core->init(core); + mCoreInitConfig(core, NULL); core->loadROM(core, vf); *state = core; return 0; diff --git a/src/gb/test/memory.c b/src/gb/test/memory.c index f4e0ee642..01a4b398f 100644 --- a/src/gb/test/memory.c +++ b/src/gb/test/memory.c @@ -16,6 +16,7 @@ M_TEST_SUITE_SETUP(GBMemory) { GBSynthesizeROM(vf); struct mCore* core = GBCoreCreate(); core->init(core); + mCoreInitConfig(core, NULL); core->loadROM(core, vf); *state = core; return 0; diff --git a/src/gb/test/rtc.c b/src/gb/test/rtc.c index d26cb696e..71d06ced2 100644 --- a/src/gb/test/rtc.c +++ b/src/gb/test/rtc.c @@ -48,6 +48,7 @@ M_TEST_SUITE_SETUP(GBRTC) { return -1; } test->core->init(test->core); + mCoreInitConfig(test->core, NULL); struct VFile* vf = VFileMemChunk(NULL, 2048); GBSynthesizeROM(vf); test->core->loadROM(test->core, vf);