mirror of
https://github.com/whscullin/apple1js.git
synced 2024-05-31 18:41:33 +00:00
Really fix Safari tape loading.
This commit is contained in:
parent
2ef60a84a5
commit
ebe3821b0f
|
@ -75,7 +75,7 @@ aci.setData(window.tapes['Microchess'].tracks);
|
||||||
// Audio Buffer Source
|
// Audio Buffer Source
|
||||||
var context;
|
var context;
|
||||||
if (typeof window.webkitAudioContext !== 'undefined') {
|
if (typeof window.webkitAudioContext !== 'undefined') {
|
||||||
context = window.webkitAudioContext();
|
context = new window.webkitAudioContext();
|
||||||
} else if (typeof window.AudioContext !== 'undefined') {
|
} else if (typeof window.AudioContext !== 'undefined') {
|
||||||
context = new window.AudioContext();
|
context = new window.AudioContext();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user