diff --git a/core/emulator.cpp b/core/emulator.cpp index 0d600b3fe..11fee2473 100644 --- a/core/emulator.cpp +++ b/core/emulator.cpp @@ -585,6 +585,7 @@ void dc_term_emulator() sh4_cpu.Term(); if (settings.platform.system != DC_PLATFORM_DREAMCAST) naomi_cart_Close(); + custom_texture.Terminate(); // lr: avoid deadlock on exit (win32) devicesTerm(); mem_Term(); _vmem_release(); diff --git a/core/windows/unwind_info.cpp b/core/windows/unwind_info.cpp index 46b7100f5..db60bdf4f 100644 --- a/core/windows/unwind_info.cpp +++ b/core/windows/unwind_info.cpp @@ -82,14 +82,14 @@ size_t UnwindInfo::end(u32 offset, ptrdiff_t rwRxOffset) #endif bool result = RtlAddFunctionTable(table, 1, (DWORD64)startAddr); tables.push_back(table); - NOTICE_LOG(DYNAREC, "RtlAddFunctionTable %p sz %d rc %d tables: %d", startAddr, table[0].EndAddress, result, (u32)tables.size()); + DEBUG_LOG(DYNAREC, "RtlAddFunctionTable %p sz %d rc %d tables: %d", startAddr, table[0].EndAddress, result, (u32)tables.size()); return (unwindInfo + codes.size() * sizeof(u16) + sizeof(RUNTIME_FUNCTION)) - endAddr; } void UnwindInfo::clear() { - NOTICE_LOG(DYNAREC, "UnwindInfo::clear"); + DEBUG_LOG(DYNAREC, "UnwindInfo::clear"); for (RUNTIME_FUNCTION *table : tables) RtlDeleteFunctionTable(table); tables.clear();