diff --git a/index.htm b/index.htm index 20ecadf..bcf34a8 100644 --- a/index.htm +++ b/index.htm @@ -30,7 +30,7 @@ - +
@@ -607,8 +607,8 @@
diff --git a/index.js b/index.js index 5e34b0b..bec2e05 100644 --- a/index.js +++ b/index.js @@ -1,10 +1,9 @@ /************************************************************************** * SAE - Scripted Amiga Emulator * -* https://github.com/naTmeg/ScriptedAmigaEmulator +* 2012-2015 Rupert Hausberger * -* ©2012 Rupert Hausberger -* Commercial use is prohibited. +* https://github.com/naTmeg/ScriptedAmigaEmulator * *************************************************************************** * Note: This file does not contain any emulator-code. @@ -1030,6 +1029,9 @@ function init() { } } +function mainStart() { + return SAE({cmd: 'start'}); +} function start() { document.body.style.backgroundColor = '#000'; styleDisplayBlock('base', 0); @@ -1055,8 +1057,13 @@ function start() { if (result.error != SAEE_None) { stop(); alert(result.message); - }*/ - SAE({cmd:'start'}); + }*/ + + if (BrowserDetect.browser == 'Firefox') { /* Thanks 'dmcoles' */ + console.log('Enabling audio-start delay for Firefox...'); + setTimeout(mainStart, 50); + } else + mainStart(); } function simpleStart2() { diff --git a/readme.htm b/readme.htm index d00ccbd..008d372 100644 --- a/readme.htm +++ b/readme.htm @@ -15,46 +15,29 @@ Scripted Amiga Emulator
- - - - - -
-
    -
  • Requirements -
      -
    • A very fast computer
    • -
    • A browser capable of HTML5 with: -
        -
      • WegGL or Canvas 2D (optional)
      • -
      • WebAudio (optional)
      • -
      • FileReader (GUI)
      • -
      • Typed arrays
      • -
      -
    • -
    • A ROM: -
        -
      • Amiga Kickstart 1.0-2.05 (not included for copyright reasons)
      • -
      • AROS Kickstart (included)
      • -
      -
    • -

    • -
    • And a bunch of ADF-files to test (optional)
    • -
    -
  • -
-
- - - - - - - -
Supported browsers
ChromeVery fast
FirefoxMedium speed
OperaSlow speed, no audio
IENo support
OtherUntested
-
-
+ -