#8003 closed patch
master volume command line switch
| Reported by: | SF/trinity78 | Owned by: | Kirben |
|---|---|---|---|
| Priority: | normal | Component: | Audio |
| Version: | Keywords: | ||
| Cc: | Game: |
Description
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;
Ticket imported from: #591813. Ticket imported from: patches/108.
Attachments (4)
Change History (10)
by , 24 years ago
| Attachment: | gameDetector.cpp added |
|---|
by , 24 years ago
| Attachment: | gameDetector.h added |
|---|
comment:1 by , 24 years ago
by , 24 years ago
| Attachment: | gameDetector.cpp.diff added |
|---|
Diff against August 25 CVS of scummvm module
by , 24 years ago
| Attachment: | gameDetector.h.diff added |
|---|
Diff against August 25 CVS of scummvm module
comment:3 by , 24 years ago
| Owner: | set to |
|---|
comment:5 by , 24 years ago
| Status: | new → closed |
|---|
comment:6 by , 8 years ago
| Component: | → Audio |
|---|

well there are some stupid line breaks in it, better take it out off the files