mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-14 17:10:53 +00:00
Extra bloaty junk to modernise stuff a bit.
https://fte.triptohell.info/moodles/qss/
9c06e7a75f
(CDAudio_Init): Move the bad ugly hack about SDL_CDROM environment variable into the new export_cddev_arg() helper. FOr the -cddev option, call the new get_cddev_arg() helper. (export_cddev_arg): SDL_CDROM environment variable hack moved from CDAudio_Init() to here. Fixed bad strcat() usage orto the array. Made it for non-windows platforms only. (get_cddev_arg): Added for checking the argument to the -cddev option. For non-windows platforms just return the argument itself. For windows, arg should be like "D:\", make sure it is so, but tolerate args like "D" or "D:", as well. (CDAudio_Next): Make static. Minor cleanups. (CDAudio_Prev): Make static. Minor cleanups. git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@285 af15c1b1-3010-417e-b628-4374ebc0bcbd |
||
---|---|---|
quakespasm |