Ejemplo n.º 1
0
 /// <summary>
 /// pops the console in front of the main window (where it should probably go after booting up the game).
 /// maybe this should be optional, or maybe we can somehow position the console sensibly.
 /// sometimes it annoys me, but i really need it on top while debugging or else i will be annoyed.
 /// best of all would be to position it beneath the bizhawk main window somehow.
 /// </summary>
 public static void PositionConsole()
 {
     if (ConsoleVisible == false)
     {
         return;
     }
     if (Global.Config.WIN32_CONSOLE)
     {
         IntPtr x = Win32.GetConsoleWindow();
         Win32.SetForegroundWindow(x);
     }
 }