Add RPCS3 version to logging

Also fixed the link pointing to the RPCS3 forum.
This commit is contained in:
Raul Tambre 2015-09-05 18:45:31 +03:00 committed by Nekotekina
parent 09673c928c
commit de97c8e20f
3 changed files with 6 additions and 1 deletions

View File

@ -1,6 +1,7 @@
#include "stdafx.h" #include "stdafx.h"
#include "Utilities/Log.h" #include "Utilities/Log.h"
#include "Utilities/File.h" #include "Utilities/File.h"
#include "git-version.h"
#include "rpcs3/Ini.h" #include "rpcs3/Ini.h"
#include "Emu/Memory/Memory.h" #include "Emu/Memory/Memory.h"
#include "Emu/System.h" #include "Emu/System.h"
@ -207,6 +208,8 @@ void Emulator::Load()
LOG_NOTICE(LOADER, "%s -> %s", GetVFS().m_devices[i]->GetPs3Path().c_str(), GetVFS().m_devices[i]->GetLocalPath().c_str()); LOG_NOTICE(LOADER, "%s -> %s", GetVFS().m_devices[i]->GetPs3Path().c_str(), GetVFS().m_devices[i]->GetLocalPath().c_str());
} }
LOG_NOTICE(LOADER, "");
LOG_NOTICE(LOADER, "RPCS3 version: %s", RPCS3_GIT_VERSION);
LOG_NOTICE(LOADER, ""); LOG_NOTICE(LOADER, "");
LOG_NOTICE(LOADER, "Settings:"); LOG_NOTICE(LOADER, "Settings:");
@ -243,6 +246,7 @@ void Emulator::Load()
GetVFS().GetDeviceLocal(m_path, m_elf_path); GetVFS().GetDeviceLocal(m_path, m_elf_path);
LOG_NOTICE(LOADER, "Elf path: %s", m_elf_path); LOG_NOTICE(LOADER, "Elf path: %s", m_elf_path);
LOG_NOTICE(LOADER, "");
} }
f.Open(m_elf_path); f.Open(m_elf_path);
@ -257,6 +261,7 @@ void Emulator::Load()
if (!m_loader.load(f)) if (!m_loader.load(f))
{ {
LOG_ERROR(LOADER, "Loading '%s' failed", m_path.c_str()); LOG_ERROR(LOADER, "Loading '%s' failed", m_path.c_str());
LOG_NOTICE(LOADER, "");
m_status = Stopped; m_status = Stopped;
vm::close(); vm::close();
return; return;

View File

@ -84,5 +84,5 @@ void AboutDialog::OpenWebsite(wxCommandEvent& WXUNUSED(event))
void AboutDialog::OpenForum(wxCommandEvent& WXUNUSED(event)) void AboutDialog::OpenForum(wxCommandEvent& WXUNUSED(event))
{ {
wxLaunchDefaultBrowser("http://forum.rpcs3.net/"); wxLaunchDefaultBrowser("http://www.emunewz.net/forum/forumdisplay.php?fid=162");
} }

Binary file not shown.