Exemplo n.º 1
0
 static InputFormRef Init(Form self)
 {
     return(new InputFormRef(self
                             , ""
                             , SongTableForm.GetSoundTablePointer()
                             , 8
                             , (int i, uint addr) =>
     {    //読込最大値検索
         return U.isPointer(Program.ROM.u32(addr));
     }
                             , (int i, uint addr) =>
     {
         uint songheader = Program.ROM.p32(addr + 0);
         string name = U.ToHexString(i) + " " + SongTableForm.GetSongName((uint)i);
         return new U.AddrResult(songheader, name);
     }
                             ));
 }