Example #1
0
        public static void Main(string[] args)
        {
            try
            {
                UIManager.LookAndFeel = UIManager.SystemLookAndFeelClassName;
            }
            catch (Exception e)
            {
                Console.WriteLine(e.ToString());
                Console.Write(e.StackTrace);
            }
            System.setProperty("log4j.properties", confFile);
            DOMConfigurator.configure(confFile);

            System.Out = new PrintStream(new LoggingOutputStream(Logger.getLogger("sysout"), Level.INFO));
            (new LogWindow()).Visible = true;
        }
Example #2
0
        public virtual void run()
        {
            DOMConfigurator.configure("LogSettings.xml");
            System.Out       = new PrintStream(new LoggingOutputStream(Logger.getLogger("emu"), Level.INFO));
            Screen.HasScreen = false;
            //IoFileMgrForUser.defaultTimings.get(IoFileMgrForUser.IoOperation.iodevctl).setDelayMillis(0);
            Modules.sceDisplayModule.setCalledFromCommandLine();

            try
            {
                runImpl();
            }
            catch (Exception o)
            {
                Console.WriteLine(o.ToString());
                Console.Write(o.StackTrace);
            }

            Environment.Exit(0);
        }