update 0.9.0
This commit is contained in:
parent
470f65cca4
commit
f1f8a1e846
4 changed files with 24 additions and 4 deletions
13
sae/amiga.js
13
sae/amiga.js
|
|
@ -587,8 +587,17 @@ function ScriptedAmigaEmulator() {
|
|||
};
|
||||
|
||||
this.mute = function(mute) {
|
||||
this.audio.mute(mute);
|
||||
return SAEE_None;
|
||||
if (this.running) {
|
||||
this.audio.mute(mute);
|
||||
if (mute)
|
||||
SAEF_log("sae.mute() audio muted");
|
||||
else
|
||||
SAEF_log("sae.mute() playing audio");
|
||||
return SAEE_None;
|
||||
} else {
|
||||
SAEF_warn("sae.mute() emulation not running");
|
||||
return SAEE_NotRunning;
|
||||
}
|
||||
};
|
||||
|
||||
this.keyPress = function(e, down) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue