OSDN Git Service
(root)
/
csp-qt
/
common_source_project-fm7.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[VM][General] Merge upstream 2016-02-13. Still don't implement OSD/Gui part of joysti...
[csp-qt/common_source_project-fm7.git]
/
source
/
src
/
vm
/
mz3500
/
mz3500.cpp
diff --git
a/source/src/vm/mz3500/mz3500.cpp
b/source/src/vm/mz3500/mz3500.cpp
index
131592d
..
9a3e0ab
100644
(file)
--- a/
source/src/vm/mz3500/mz3500.cpp
+++ b/
source/src/vm/mz3500/mz3500.cpp
@@
-356,6
+356,15
@@
int VM::sound_buffer_ptr()
return event->sound_buffer_ptr();
}
return event->sound_buffer_ptr();
}
+#ifdef USE_SOUND_VOLUME
+void VM::set_sound_device_volume(int ch, int decibel_l, int decibel_r)
+{
+ if(ch == 0) {
+ pcm->set_volume(0, decibel_l, decibel_r);
+ }
+}
+#endif
+
// ----------------------------------------------------------------------------
// notify key
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
// notify key
// ----------------------------------------------------------------------------