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:
42f3824
)
[VM][FMTOWNS][VRAM] Fix addressing for VRAM ACCESS REGISTER (I/O 0458h).
author
K.Ohta
<whatisthis.sowhat@gmail.com>
Sat, 23 Sep 2023 17:05:01 +0000
(
02:05
+0900)
committer
K.Ohta
<whatisthis.sowhat@gmail.com>
Sat, 23 Sep 2023 17:05:01 +0000
(
02:05
+0900)
source/src/vm/fmtowns/vram.cpp
patch
|
blob
|
history
diff --git
a/source/src/vm/fmtowns/vram.cpp
b/source/src/vm/fmtowns/vram.cpp
index
d413d4d
..
38bff30
100644
(file)
--- a/
source/src/vm/fmtowns/vram.cpp
+++ b/
source/src/vm/fmtowns/vram.cpp
@@
-231,7
+231,7
@@
void TOWNS_VRAM::write_io8(uint32_t address, uint32_t data)
{
switch(address & 0xffff) {
case 0x0458:
- vram_access_reg_addr = data &
3
;
+ vram_access_reg_addr = data &
1
;
// out_debug_log(_T("VRAM ACCESS(0458h)=%02X"), data);
break;
case 0x045a:
@@
-257,7
+257,7
@@
void TOWNS_VRAM::write_io16(uint32_t address, uint32_t data)
d.d = data;
switch(address & 0xffff) {
case 0x0458:
- vram_access_reg_addr = data &
3
;
+ vram_access_reg_addr = data &
1
;
break;
case 0x045a:
{