OSDN Git Service
(root)
/
csp-qt
/
common_source_project-fm7.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[BUILD] Set SOVERSION and GIT hash automatically.
[csp-qt/common_source_project-fm7.git]
/
source
/
src
/
vm
/
fmr50
/
fmr50.cpp
diff --git
a/source/src/vm/fmr50/fmr50.cpp
b/source/src/vm/fmr50/fmr50.cpp
index
28821a0
..
c96d49d
100644
(file)
--- a/
source/src/vm/fmr50/fmr50.cpp
+++ b/
source/src/vm/fmr50/fmr50.cpp
@@
-52,7
+52,7
@@
// initialize
// ----------------------------------------------------------------------------
// initialize
// ----------------------------------------------------------------------------
-VM::VM(EMU* parent_emu) :
emu
(parent_emu)
+VM::VM(EMU* parent_emu) :
VM_TEMPLATE
(parent_emu)
{
/*
Machine ID & CPU ID
{
/*
Machine ID & CPU ID
@@
-315,6
+315,9
@@
VM::VM(EMU* parent_emu) : emu(parent_emu)
io->set_iomap_single_rw(0xfda0, memory); // crtc
// initialize all devices
io->set_iomap_single_rw(0xfda0, memory); // crtc
// initialize all devices
+#if defined(__GIT_REPO_VERSION)
+ strncpy(_git_revision, __GIT_REPO_VERSION, sizeof(_git_revision) - 1);
+#endif
for(DEVICE* device = first_device; device; device = device->next_device) {
device->initialize();
}
for(DEVICE* device = first_device; device; device = device->next_device) {
device->initialize();
}