yquake2remaster/src/client
Denis Pauk 6e80924050 Fix segfault on device without available sound cards
In such case sound system left uninitialized and without cvars.
----
Thread 1 "quake2" received signal SIGSEGV, Segmentation fault.
0x00005555555956a1 in OGG_PlayTrack (trackNo=7) at src/client/sound/ogg.c:351
351 if((trackNo == 0) || ogg_shuffle->value)
(gdb) bt
#0  0x00005555555956a1 in OGG_PlayTrack (trackNo=7) at
src/client/sound/ogg.c:351
#1  0x000055555557bded in CL_PrepRefresh () at src/client/cl_view.c:367
#2  0x000055555556e1a0 in CL_Precache_f () at src/client/cl_main.c:472
#3  0x00005555555a40dc in Cbuf_Execute () at src/common/cmdparser.c:229
#4  0x000055555556f0f9 in CL_Frame (packetdelta=<optimized out>,
renderdelta=<optimized out>, timedelta=<optimized out>,
packetframe=packetframe@entry=true,
    renderframe=renderframe@entry=false) at src/client/cl_main.c:803
#5  0x00005555555aa0c5 in Qcommon_Frame (usec=5) at src/common/frame.c:626
#6  0x00005555555aa48e in Qcommon_Mainloop () at src/common/frame.c:163
#7  0x00005555555aaae6 in Qcommon_Init (argc=1, argv=0x7fffffffdfa8)
at src/common/frame.c:377
#8  0x000055555555e564 in main (argc=1, argv=0x7fffffffdfa8) at
src/backends/unix/main.c:123
----
2020-01-30 22:45:01 +02:00
..
curl Merge branch 'pvs-studio-fixes-1' 2019-11-10 17:39:45 +01:00
header Put the client into pause mode when loading save games. 2019-09-03 08:42:05 +02:00
input Don't screw up if 'sensitivity' is set to non-integral values. 2019-07-20 16:19:35 +02:00
menu Merge branch 'pvs-studio-fixes-1' 2019-11-10 17:39:45 +01:00
refresh update stb_* codes 2020-01-30 22:29:05 +02:00
sound Fix segfault on device without available sound cards 2020-01-30 22:45:01 +02:00
vid update stb_* codes 2020-01-30 22:29:05 +02:00
cl_cin.c SV_FatPVS(): use int32_t instead of long, as the code assumes it's 32bit 2019-09-25 21:39:02 -01:00
cl_console.c Prevent buffer overflows console if vertical resolution > 2048. 2019-02-16 08:57:44 +01:00
cl_download.c Merge branch 'pvs-studio-fixes-1' 2019-11-10 17:39:45 +01:00
cl_effects.c When an invalid muzzle flash offset is send, just return. 2016-10-23 18:36:43 +02:00
cl_entities.c Remove S_RegisterSexedModel(). 2019-07-20 16:19:15 +02:00
cl_input.c Move input.c and input.h into the client and rename to sdl.c. 2018-08-07 09:43:34 +02:00
cl_inventory.c screen: auto-scale the HUD when gl_hudscale < 0. 2014-05-06 19:45:11 +02:00
cl_keyboard.c Fixes for PVS Studio warnings: client/cl_*.c and curl/download.c 2019-07-21 03:02:22 +02:00
cl_lights.c Don't stop processing dlights if one of them had a radius of 0. 2018-09-30 19:59:07 +02:00
cl_main.c Make the new 'cycleweap' command autocompleteable. 2019-10-01 20:55:27 +02:00
cl_network.c Fix demo playback if cl_loadpaused is 1. 2019-10-01 22:26:37 +02:00
cl_parse.c Merge branch 'pvs-studio-fixes-1' 2019-11-10 17:39:45 +01:00
cl_particles.c Reformat the client 2012-07-22 15:34:45 +02:00
cl_prediction.c Fixes for PVS Studio warnings: client/cl_*.c and curl/download.c 2019-07-21 03:02:22 +02:00
cl_screen.c Fixes for PVS Studio warnings: client/cl_*.c and curl/download.c 2019-07-21 03:02:22 +02:00
cl_tempentities.c Fixes for PVS Studio warnings: client/cl_*.c and curl/download.c 2019-07-21 03:02:22 +02:00
cl_view.c Merge branch 'pvs-studio-fixes-1' 2019-11-10 17:39:45 +01:00