Exemplo n.º 1
0
        public void JumpToSongID(uint song_id)
        {
            uint table = SongTableForm.GetSongAddr(song_id);

            if (table == U.NOT_FOUND)
            {
                return;
            }
            uint songheader = Program.ROM.p32(table);

            if (!U.isSafetyOffset(songheader))
            {
                return;
            }
            uint voca = Program.ROM.p32(songheader + 4);

            if (!U.isSafetyOffset(voca))
            {
                return;
            }
            InputFormRef.ReInit(voca);
        }