Ejemplo n.º 1
0
 /// <summary>
 /// Applies a Patch to the ROM using Asar
 /// </summary>
 /// <param name="patch">Path to Patch</param>
 /// <param name="caller"></param>
 public void Patch(string patch, [CallerMemberName] string caller = "")
 {
     UR.Do
     (
         () =>
     {
         Asar.Init();
         Asar.Patch(patch, ref _ROM);
         Asar.Close();
     },
         () =>
     {
         // oh god what do i even do here...
     },
         caller == "Main"
     );
 }