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