From 1c3541a0a0aadf0eddc0e4ad14ae81802bfe1d19 Mon Sep 17 00:00:00 2001 From: quaK <38787176+Joelrau@users.noreply.github.com> Date: Thu, 6 Oct 2022 17:22:33 +0300 Subject: [PATCH] don't initialize sound system --- src/client/component/dedicated.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/component/dedicated.cpp b/src/client/component/dedicated.cpp index 239d301e..309373bf 100644 --- a/src/client/component/dedicated.cpp +++ b/src/client/component/dedicated.cpp @@ -127,8 +127,8 @@ namespace dedicated utils::hook::set(0xBB0930_b, 0xC3); // don't save config file utils::hook::set(0x9D49C0_b, 0xC3); // disable self-registration // done - //utils::hook::set(0xD597C0_b, 0xC3); // init sound system (1) // done Voice_Init - //utils::hook::set(0x701820_b, 0xC3); // init sound system (2) // can't find ( arxan'd ) SND_Init? + utils::hook::set(0xC93120_b, 0xC3C033); // init sound system (1) // done SND_InitDriver + utils::hook::set(0xD597C0_b, 0xC3); // init sound system (2) // done Voice_Init utils::hook::set(0xE574E0_b, 0xC3); // render thread // done RB_RenderThread utils::hook::set(0x3471A0_b, 0xC3); // called from Com_Frame, seems to do renderer stuff // done CL_Screen_Update utils::hook::set(0x9AA9A0_b, 0xC3); // CL_CheckForResend, which tries to connect to the local server constantly // done CL_MainMP_CheckForResend