mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +00:00
The missing parts of last commit.
This commit is contained in:
parent
7c333b1fd1
commit
3c3c2f03e8
3 changed files with 2 additions and 5 deletions
|
@ -105,7 +105,7 @@ const char *BaseFileSearch(const char *file, const char *ext, bool lookfirstinpr
|
||||||
|
|
||||||
CVAR(String, fluid_lib, "", CVAR_ARCHIVE|CVAR_GLOBALCONFIG)
|
CVAR(String, fluid_lib, "", CVAR_ARCHIVE|CVAR_GLOBALCONFIG)
|
||||||
|
|
||||||
CUSTOM_CVAR(String, fluid_patchset, "", CVAR_ARCHIVE | CVAR_GLOBALCONFIG)
|
CUSTOM_CVAR(String, fluid_patchset, "gzdoom", CVAR_ARCHIVE | CVAR_GLOBALCONFIG)
|
||||||
{
|
{
|
||||||
if (currSong != nullptr && currSong->GetDeviceType() == MDEV_FLUIDSYNTH)
|
if (currSong != nullptr && currSong->GetDeviceType() == MDEV_FLUIDSYNTH)
|
||||||
{
|
{
|
||||||
|
|
|
@ -78,7 +78,7 @@ protected:
|
||||||
TimidityPlus::Instruments *TimidityPPMIDIDevice::instruments;
|
TimidityPlus::Instruments *TimidityPPMIDIDevice::instruments;
|
||||||
|
|
||||||
// Config file to use
|
// Config file to use
|
||||||
CUSTOM_CVAR(String, timidity_config, "timidity.cfg", CVAR_ARCHIVE | CVAR_GLOBALCONFIG)
|
CUSTOM_CVAR(String, timidity_config, "gzdoom", CVAR_ARCHIVE | CVAR_GLOBALCONFIG)
|
||||||
{
|
{
|
||||||
if (currSong != nullptr && currSong->GetDeviceType() == MDEV_TIMIDITY)
|
if (currSong != nullptr && currSong->GetDeviceType() == MDEV_TIMIDITY)
|
||||||
{
|
{
|
||||||
|
|
|
@ -86,9 +86,6 @@ config.h
|
||||||
|
|
||||||
#define MAX_AMPLIFICATION 800
|
#define MAX_AMPLIFICATION 800
|
||||||
|
|
||||||
/* The TiMiditiy configuration file */
|
|
||||||
#define CONFIG_FILE "timidity.cfg"
|
|
||||||
|
|
||||||
typedef float sample_t;
|
typedef float sample_t;
|
||||||
typedef float final_volume_t;
|
typedef float final_volume_t;
|
||||||
#define FINAL_VOLUME(v) (v)
|
#define FINAL_VOLUME(v) (v)
|
||||||
|
|
Loading…
Reference in a new issue