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:
d48654c
)
[VM][FMTOWNS][VRAM] Fix wrong mask value for writing_as_32bit width.
author
K.Ohta
<whatisthis.sowhat@gmail.com>
Fri, 24 Jan 2020 11:02:55 +0000
(20:02 +0900)
committer
K.Ohta
<whatisthis.sowhat@gmail.com>
Fri, 24 Jan 2020 11:02:55 +0000
(20:02 +0900)
source/src/vm/fmtowns/towns_vram.cpp
patch
|
blob
|
history
diff --git
a/source/src/vm/fmtowns/towns_vram.cpp
b/source/src/vm/fmtowns/towns_vram.cpp
index
dcb80f5
..
0e14a77
100644
(file)
--- a/
source/src/vm/fmtowns/towns_vram.cpp
+++ b/
source/src/vm/fmtowns/towns_vram.cpp
@@
-586,7
+586,7
@@
void TOWNS_VRAM::write_raw_vram32(uint32_t addr, uint32_t data)
bool is_wrap = false;
uint32_t wrap_addr = 0;
uint32_t wrap_mask;
- mask =
((addr & 0x02) == 0) ? packed_pixel_mask_reg.w.l : packed_pixel_mask_reg.w.h
;
+ mask =
packed_pixel_mask_reg.d
;
a.d = data;
if((addr & 0x3ffff) > 0x3fffc) {