diff --git a/app/AnimeMatrix/SlashDevice.cs b/app/AnimeMatrix/SlashDevice.cs index 9379c4b7..eb0446fe 100644 --- a/app/AnimeMatrix/SlashDevice.cs +++ b/app/AnimeMatrix/SlashDevice.cs @@ -94,10 +94,16 @@ namespace GHelper.AnimeMatrix public void Init() { + SetEnabled(true); Set(Packet(0xD7, 0x00, 0x00, 0x01, 0xAC), "SlashInit"); Set(Packet(0xD2, 0x02, 0x01, 0x08, 0xAB), "SlashInit"); } + public void SetEnabled(bool status = true) + { + Set(Packet(0xD8, 0x02, 0x00, 0x01, status ? (byte)0x00 : (byte)0x80), $"SlashEnable {status}"); + } + public void Save() { Set(Packet(0xD4, 0x00, 0x00, 0x01, 0xAB), "SlashSave");