mirror of
https://github.com/whscullin/apple1js.git
synced 2024-12-27 19:30:02 +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
|
||||
var context;
|
||||
if (typeof window.webkitAudioContext !== 'undefined') {
|
||||
context = window.webkitAudioContext();
|
||||
context = new window.webkitAudioContext();
|
||||
} else if (typeof window.AudioContext !== 'undefined') {
|
||||
context = new window.AudioContext();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user