OSDN Git Service
(root)
/
csp-qt
/
common_source_project-fm7.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f62fc3
)
[VM][FM77] Fix wrong answer at $FD04.Thanks to Ryu Takegami.
author
K.Ohta
<whatisthis.sowhat@gmail.com>
Wed, 31 Jan 2018 09:10:01 +0000
(18:10 +0900)
committer
K.Ohta
<whatisthis.sowhat@gmail.com>
Wed, 31 Jan 2018 09:10:01 +0000
(18:10 +0900)
source/src/vm/fm7/fm7_mainio.cpp
patch
|
blob
|
history
diff --git
a/source/src/vm/fm7/fm7_mainio.cpp
b/source/src/vm/fm7/fm7_mainio.cpp
index
822b1b9
..
4d1b312
100644
(file)
--- a/
source/src/vm/fm7/fm7_mainio.cpp
+++ b/
source/src/vm/fm7/fm7_mainio.cpp
@@
-659,6
+659,8
@@
uint8_t FM7_MAINIO::get_fd04(void)
if(stat_kanjirom) val |= 0x20;
# if defined(_FM77L4)
val |= (display->read_signal(SIG_DISPLAY_EXTRA_MODE) & 0x18);
+# else
+ val |= 0x18; // For NON-77L4, these bit must be '1'.Thanks to Ryu Takegami.
# endif
#else
val |= 0x7c;