diff --git a/rpcs3/main.cpp b/rpcs3/main.cpp index 8666b9c49f..1ea2321804 100644 --- a/rpcs3/main.cpp +++ b/rpcs3/main.cpp @@ -1,6 +1,11 @@ +#include "stdafx.h" #include "rpcs3.h" +LOG_CHANNEL(sys_log, "SYS"); + int main(int argc, char** argv) { - return run_rpcs3(argc, argv); + const int exit_code = run_rpcs3(argc, argv); + sys_log.notice("RPCS3 terminated with exit code %d", exit_code); + return exit_code; }