X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=libpcsxcore%2Fsystem.h;h=254be0839ab78504be95bbf67723607f17efa4e4;hb=1562ed57fbcf34e330876840a68ca8853ea71cce;hp=c869fdf1df097a70215eb865ea28e9b90fc054bd;hpb=ef79bbde537d6b9c745a7d86cb9df1d04c35590d;p=pcsx_rearmed.git diff --git a/libpcsxcore/system.h b/libpcsxcore/system.h index c869fdf1..254be083 100644 --- a/libpcsxcore/system.h +++ b/libpcsxcore/system.h @@ -35,6 +35,11 @@ void SysCloseLibrary(void *lib); // Closes Library void SysUpdate(); // Called on VBlank (to update i.e. pads) void SysRunGui(); // Returns to the Gui void SysClose(); // Close mem and plugins +void SysDLog(const char *fmt, ...); // Prints debug-level logs + +// log if the game does something we don't handle (well) +//#define log_unhandled printf +#define log_unhandled(...) #ifdef __cplusplus }