From af205a81e2ab64ff50ef3a5c1ef62037b8ec3af5 Mon Sep 17 00:00:00 2001 From: Sergio Martin Date: Wed, 19 Mar 2025 19:31:36 +0100 Subject: [PATCH] Removing no-longer necessary virtuals --- src/BizHawk.Emulation.Cores/Waterbox/WaterboxCore.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/BizHawk.Emulation.Cores/Waterbox/WaterboxCore.cs b/src/BizHawk.Emulation.Cores/Waterbox/WaterboxCore.cs index 0d39e7b362..8acc9bf4d3 100644 --- a/src/BizHawk.Emulation.Cores/Waterbox/WaterboxCore.cs +++ b/src/BizHawk.Emulation.Cores/Waterbox/WaterboxCore.cs @@ -158,7 +158,7 @@ namespace BizHawk.Emulation.Cores.Waterbox } } - public virtual byte[] CloneSaveRam() + public byte[] CloneSaveRam() { if (_saveramSize == 0) return null; @@ -174,7 +174,7 @@ namespace BizHawk.Emulation.Cores.Waterbox } } - public virtual void StoreSaveRam(byte[] data) + public void StoreSaveRam(byte[] data) { // Checking if the size of the SaveRAM provided coincides with that expected. This is important for cores whose SaveRAM size can vary depending on their configuration. if (data.Length != _saveramSize) @@ -197,7 +197,7 @@ namespace BizHawk.Emulation.Cores.Waterbox } protected abstract LibWaterboxCore.FrameInfo FrameAdvancePrep(IController controller, bool render, bool rendersound); - protected virtual void FrameAdvancePost() + protected void FrameAdvancePost() { } public unsafe bool FrameAdvance(IController controller, bool render, bool rendersound = true)