Fix audio during transition
This commit is contained in:
parent
4386a5a894
commit
40c1872245
2 changed files with 12 additions and 8 deletions
|
@ -19,10 +19,6 @@
|
|||
** along with mkxp. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifdef __EMSCRIPTEN__
|
||||
#include "audio.h"
|
||||
#endif
|
||||
|
||||
#include "graphics.h"
|
||||
#include "sharedstate.h"
|
||||
#include "binding-util.h"
|
||||
|
@ -34,10 +30,6 @@ MRB_FUNCTION(graphicsUpdate)
|
|||
|
||||
shState->graphics().update();
|
||||
|
||||
#ifdef __EMSCRIPTEN__
|
||||
shState->audio().update();
|
||||
#endif
|
||||
|
||||
return mrb_nil_value();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue