X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=frontend%2Fmain.c;h=fd1c119862215ded0d80fae800b3ede6ec8ad5c6;hp=e36ad481ed4bc338fb4dcd4c268e90dc542be0ea;hb=ae602c19f527fbc1f44cdb744cf824d04b8eceb1;hpb=b60f2812208aa36dc8b9e8e90f02b608dafd0c00 diff --git a/frontend/main.c b/frontend/main.c index e36ad481..fd1c1198 100644 --- a/frontend/main.c +++ b/frontend/main.c @@ -14,6 +14,7 @@ #include #include "plugin.h" +#include "pcnt.h" #include "../gui/Linux.h" #include "../libpcsxcore/misc.h" @@ -86,7 +87,6 @@ int main(int argc, char *argv[]) emuLog = stdout; SetIsoFile(NULL); - Config.PsxOut = 1; // read command line options for (i = 1; i < argc; i++) { @@ -192,6 +192,7 @@ int main(int argc, char *argv[]) SysMessage("Failed loading plugins!"); return 1; } + pcnt_hook_plugins(); if (OpenPlugins() == -1) { return 1; @@ -351,19 +352,6 @@ void SysPrintf(const char *fmt, ...) { vsprintf(msg, fmt, list); va_end(list); - if (Config.PsxOut) { - static char linestart = 1; - int l = strlen(msg); - - printf(linestart ? " * %s" : "%s", msg); - - if (l > 0 && msg[l - 1] == '\n') { - linestart = 1; - } else { - linestart = 0; - } - } - fprintf(emuLog, "%s", msg); }