//freeze //config //about public static int Test() { try { CLR_PSE_Version_PCSX2 minVer = new CLR_PSE_Version_PCSX2(1, 3, 1); if (CLR_PSE.EmuName != "PCSX2") { return(0); //Hope it works } if (CLR_PSE.EmuVersion >= minVer) { return(0); } else { return(-1); } } catch (Exception e) when(Log_Fatal(e)) { throw; } catch (Exception) when(tryAvoidThrow) { return(1); } }
//Only Used on Windows public static void PS2EsetEmuVersion(IntPtr name, int version) { if (name == IntPtr.Zero) { emuName = ""; } else { emuName = Marshal.PtrToStringAnsi(name); } emuVersion = CLR_PSE_Version_PCSX2.ToVersion(version); }
//freeze //config //about public static int Test() { try { CLR_PSE_Version_PCSX2 minVer = new CLR_PSE_Version_PCSX2(1, 3, 1); if (CLR_PSE.EmuName != "PCSX2") { return(0); //Hope it works } if (CLR_PSE.EmuVersion >= minVer) { return(0); } else { return(-1); } } catch (Exception e) { CLR_PSE_PluginLog.MsgBoxErrorTrapper(e); return(1); } }
//freeze //config //about //test public static int Test() { try { CLR_PSE_Version_PCSX2 minVer = new CLR_PSE_Version_PCSX2(1, 3, 1); if (CLR_PSE.EmuName != "PCSX2") { return 0; //Hope it works } if (CLR_PSE.EmuVersion >= minVer) { return 0; } else { return -1; } } catch (Exception e) { CLR_PSE_PluginLog.MsgBoxError(e); return 1; } }