mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 23:15:18 +00:00
Add version utility
This commit is contained in:
parent
74aa1a112e
commit
135c63117b
7 changed files with 156 additions and 22 deletions
11
rx/src/Version.cpp
Normal file
11
rx/src/Version.cpp
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#include "rx/Version.hpp"
|
||||
|
||||
rx::Version rx::getVersion() {
|
||||
return {
|
||||
.raw = RX_RAW_VERSION,
|
||||
.tag = static_cast<VersionTag>(RX_TAG),
|
||||
.tagVersion = RX_TAG_VERSION,
|
||||
.gitTag = RX_GIT_REV,
|
||||
.dirty = (RX_GIT_DIRTY != 0),
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue