From b6b2843ad7c7d1aa906b1cb9ce0ee1087a81032a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jimmy=20Engstr=C3=B6m?= Date: Sun, 20 Oct 2024 16:23:20 +0200 Subject: [PATCH] Removed AOT --- .../Components/EmulatorComponent.razor | 70 +++++++++---------- Platforms/ZXBox.Blazor/ZXBox.Blazor.csproj | 2 +- 2 files changed, 36 insertions(+), 36 deletions(-) diff --git a/Platforms/ZXBox.Blazor/Components/EmulatorComponent.razor b/Platforms/ZXBox.Blazor/Components/EmulatorComponent.razor index 7007f22..54a8928 100644 --- a/Platforms/ZXBox.Blazor/Components/EmulatorComponent.razor +++ b/Platforms/ZXBox.Blazor/Components/EmulatorComponent.razor @@ -1,45 +1,45 @@ -@using ZXBox.Blazor.Pages -@using ZXBox.Snapshot -@using System.Timers -@using Toolbelt.Blazor.Gamepad; -@using Microsoft.AspNetCore.Components -@inject Toolbelt.Blazor.Gamepad.GamepadList GamePadList; -@inherits EmulatorComponentModel - - -@if (gameLoop.Enabled) -{ -
- Load a game (supported formats: TAP, Z80, and SNA)
-
- Use a gamepad for Kempston joystick
- @((MarkupString)Instructions)
- +@using ZXBox.Blazor.Pages +@using ZXBox.Snapshot +@using System.Timers +@using Toolbelt.Blazor.Gamepad; +@using Microsoft.AspNetCore.Components +@inject Toolbelt.Blazor.Gamepad.GamepadList GamePadList; +@inherits EmulatorComponentModel + + +@if (gameLoop.Enabled) +{ +
+ Load a game (supported formats: TAP, Z80, and SNA)
+
+ Use a gamepad for Kempston joystick
+ @((MarkupString)Instructions)
+ @if (tapePlayer.EarValues.Count > 0) { @if (!tapePlayer.IsPlaying) { - } + } else { -
- +
+
} - } -
-} -else -{ -
- Choose the computer you want to run
- - -
-} - -@* - *@ - + } +
+} +else +{ +
+ Choose the computer you want to run
+ + +
+} + +@* + *@ + \ No newline at end of file diff --git a/Platforms/ZXBox.Blazor/ZXBox.Blazor.csproj b/Platforms/ZXBox.Blazor/ZXBox.Blazor.csproj index e8255ec..4d98677 100644 --- a/Platforms/ZXBox.Blazor/ZXBox.Blazor.csproj +++ b/Platforms/ZXBox.Blazor/ZXBox.Blazor.csproj @@ -2,7 +2,7 @@ net8.0 - true + false