mirror of
https://github.com/whscullin/apple1js.git
synced 2024-12-28 10:30:06 +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