[ scummvm-Patches-591813 ] master volume command line switch

noreply at sourceforge.net noreply at sourceforge.net
Wed Aug 7 02:07:58 CEST 2002


Patches item #591813, was opened at 2002-08-07 02:07
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=591813&group_id=37116

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Richard (trinity78)
Assigned to: Nobody/Anonymous (nobody)
Summary: master volume command line switch

Initial Comment:
i noticed that there is the command line switch missing 
to set the master volume.
i do not know how to use this "diff" thing so i will just 
add the files.

gameDetector.cpp:

changes are in 

line 120:

	if ((val = scummcfg->get("master_volume")))
		_master_volume = atoi(val);

line 207:

			case 'o':    // overall 
music volume
			
	HANDLE_OPTION();
			
	_master_volume = atoi(option);
				scummcfg-
>set("master_volume", _master_volume);
				break;

line 502:

_master_volume = kDefaultMasterVolume;

gameDectetor.h:

line 38:

byte _master_volume;




----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=591813&group_id=37116




More information about the Scummvm-tracker mailing list