cosmetic change to the sae configuration

This commit is contained in:
Daniel Brooks
2016-08-01 13:37:59 -07:00
parent 6fab424ac6
commit fe2d12cb8d
+1 -1
View File
@@ -565,7 +565,6 @@ var Module = null;
this._sae = new ScriptedAmigaEmulator();
this._cfg = this._sae.getConfig();
this._cfg.video.id = canvas.getAttribute("id");
var model = null;
switch (game_data.amigaModel) {
case "A500": model = SAEC_Model_A500; break;
@@ -584,6 +583,7 @@ var Module = null;
this._sae.setModel(model, 0);
this._cfg.memory.z2FastSize = game_data.fastMemory || 2 << 20;
this._cfg.floppy.speed = SAEC_Config_Floppy_Speed_Turbo;
this._cfg.video.id = canvas.getAttribute("id");
if (game_data.nativeResolution && game_data.nativeResolution.height == 360 && game_data.nativeResolution.width == 284)
{