mirror of
https://github.com/holub/mame
synced 2025-10-06 17:08:28 +03:00
Fix SOUND_JS module (nw)
This commit is contained in:
parent
2126f6cdf3
commit
3cbfac80cb
@ -25,8 +25,8 @@ public:
|
||||
}
|
||||
virtual ~sound_js() { }
|
||||
|
||||
virtual int init();
|
||||
virtual void exit();
|
||||
virtual int init() { }
|
||||
virtual void exit() { }
|
||||
|
||||
// sound_module
|
||||
|
||||
@ -34,7 +34,7 @@ public:
|
||||
{
|
||||
EM_ASM_ARGS({
|
||||
// Forward audio stream update on to JS backend implementation.
|
||||
jsmess_update_audio_stream($1, $2);
|
||||
jsmess_update_audio_stream($0, $1);
|
||||
}, (unsigned int)buffer, samples_this_frame);
|
||||
}
|
||||
virtual void set_mastervolume(int attenuation)
|
||||
|
Loading…
Reference in New Issue
Block a user