mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 06:55:09 +00:00
Added rpcs3 version object
Removed _PRGVER_ macros
This commit is contained in:
parent
079411eee8
commit
b52e885cde
8 changed files with 164 additions and 5 deletions
|
|
@ -2,7 +2,7 @@
|
|||
#include "stdafx_gui.h"
|
||||
#include "rpcs3.h"
|
||||
#include "MainFrame.h"
|
||||
#include "git-version.h"
|
||||
#include "rpcs3_version.h"
|
||||
|
||||
#include "Emu/Memory/Memory.h"
|
||||
#include "Emu/System.h"
|
||||
|
|
@ -69,7 +69,7 @@ MainFrame::MainFrame()
|
|||
, m_sys_menu_opened(false)
|
||||
{
|
||||
|
||||
SetLabel(_PRGNAME_ " v" _PRGVER_ "-" RPCS3_GIT_VERSION);
|
||||
SetLabel(std::string(_PRGNAME_ " v") + rpcs3::version.to_string());
|
||||
|
||||
wxMenuBar* menubar = new wxMenuBar();
|
||||
|
||||
|
|
@ -158,7 +158,7 @@ MainFrame::MainFrame()
|
|||
wxGetApp().Bind(wxEVT_KEY_DOWN, &MainFrame::OnKeyDown, this);
|
||||
wxGetApp().Bind(wxEVT_DBG_COMMAND, &MainFrame::UpdateUI, this);
|
||||
|
||||
LOG_NOTICE(GENERAL, "%s", _PRGNAME_ " v" _PRGVER_ "-" RPCS3_GIT_VERSION);
|
||||
LOG_NOTICE(GENERAL, "%s", (std::string(_PRGNAME_ " v") + rpcs3::version.to_string()).c_str());
|
||||
LOG_NOTICE(GENERAL, "");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue