private void buttonPatchPeripherals_Click(object sender, EventArgs e)
        {
            try
            {
                SSROMInfo ssRomInfo = new SSROMInfo(_path);
                string    newCompatiblePeripheralsString = textBoxCompatiblePeripheral.Text;
                ssRomInfo.WriteCompatiblePeripherals(newCompatiblePeripheralsString);

                MessageBox.Show(@"Peripherals updated.", @"Success", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
            catch (Exception exception)
            {
                MessageBox.Show(exception.ToString(), @"Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
                //Console.WriteLine(exception);
                //throw;
            }
        }
        private void buttonPatchHeader_Click(object sender, EventArgs e)
        {
            try
            {
                SSROMInfo ssRomInfo                      = new SSROMInfo(_path);
                string    newHardwareIdentifier          = textBoxHardwareIdentifier.Text;
                string    newMakerId                     = textBoxMakerId.Text;
                string    newProductNumber               = textBoxProductNumber.Text;
                string    newVersion                     = textBoxVersion.Text;
                string    newReleaseDate                 = textBoxReleaseDate.Text;
                string    newDeviceInformation           = textBoxDeviceInformation.Text;
                string    newCompatibleAreaSymbols       = textBoxCompatibleAreaSymbol.Text;
                string    newCompatiblePeripheralsString = textBoxCompatiblePeripheral.Text;
                string    newGameTitle                   = textBoxGameTitle.Text;
                string    newIpSize                      = textBoxIpSize.Text;
                string    newStackM                      = textBoxStackM.Text;
                string    newStackS                      = textBoxStackS.Text;
                string    newFirstReadAddress            = textBoxFirstReadAddress.Text;
                string    newFirstReadSize               = textBoxFirstReadSize.Text;

                ssRomInfo.WriteHardwareIdentifier(newHardwareIdentifier);
                ssRomInfo.WriteMakerId(newMakerId);
                ssRomInfo.WriteProductNumber(newProductNumber);
                ssRomInfo.WriteVersion(newVersion);
                ssRomInfo.WriteReleaseDate(newReleaseDate);
                ssRomInfo.WriteDeviceInformation(newDeviceInformation);
                ssRomInfo.WriteCompatibleAreaSymbol(newCompatibleAreaSymbols);
                ssRomInfo.WriteCompatiblePeripherals(newCompatiblePeripheralsString);
                ssRomInfo.WriteGameTitle(newGameTitle);
                ssRomInfo.WriteIpSize(newIpSize);
                ssRomInfo.WriteStackM(newStackM);
                ssRomInfo.WriteStackS(newStackS);
                ssRomInfo.WriteFirstReadAddress(newFirstReadAddress);
                ssRomInfo.WriteFirstReadSize(newFirstReadSize);

                MessageBox.Show(@"Header updated.", @"Success", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
            catch (Exception exception)
            {
                MessageBox.Show(exception.ToString(), @"Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
                //Console.WriteLine(exception);
                //throw;
            }
        }