Пример #1
0
        public bool saveTexts(string[] texts, Charactertable table)
        {
            int pos = 0xE0000;

            for (int i = 0; i < 395; i++)
            {
                byte[] b = table.textToHex(texts[i]);
                for (int j = 0; j < b.Length; j++)
                {
                    ROM.DATA[pos] = b[j];
                    pos++;
                }
            }

            if (pos > 0xE7355)
            {
                return(true);
            }
            return(false);
        }
Пример #2
0
 public TextPreview(Charactertable table)
 {
     InitializeComponent();
     tiles      = load(ROM.DATA, 0x70000, 0x73844);
     this.table = table;
 }