Skip to content

Commit f8edf0f

Browse files
committed
Make methods static
1 parent d59a471 commit f8edf0f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Spectron.Emulation/Snapshot/SzxSnapshot.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ internal static void Save(string fileName, Emulator emulator)
6060
snapshot.Save(fileName);
6161
}
6262

63-
public static SzxFile CreateSnapshot(Emulator emulator, CompressionLevel compressionLevel = CompressionLevel.SmallestSize)
63+
private static SzxFile CreateSnapshot(Emulator emulator, CompressionLevel compressionLevel = CompressionLevel.SmallestSize)
6464
{
6565
var snapshot = new SzxFile
6666
{
@@ -208,7 +208,7 @@ private static void LoadJoystick(JoystickManager joystickManager, JoystickBlock?
208208
});
209209
}
210210

211-
private void LoadTape(TapeManager tapeManager, TapeBlock? tapeBlock)
211+
private static void LoadTape(TapeManager tapeManager, TapeBlock? tapeBlock)
212212
{
213213
if (tapeBlock == null)
214214
{
@@ -229,7 +229,7 @@ private void LoadTape(TapeManager tapeManager, TapeBlock? tapeBlock)
229229
}
230230
}
231231

232-
private void LoadAyRegisters(AudioManager audioManager, AyBlock? ay)
232+
private static void LoadAyRegisters(AudioManager audioManager, AyBlock? ay)
233233
{
234234
if (ay == null || !audioManager.IsAySupported)
235235
{

0 commit comments

Comments
 (0)