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:
c708159
)
[VM][FM77AV][VRAM] Fix crash with opening of LUXOL.
author
K.Ohta
<whatisthis.sowhat@gmail.com>
Sun, 20 Oct 2019 18:45:21 +0000
(
03:45
+0900)
committer
K.Ohta
<whatisthis.sowhat@gmail.com>
Sun, 20 Oct 2019 18:45:21 +0000
(
03:45
+0900)
source/src/vm/fm7/vram.cpp
patch
|
blob
|
history
diff --git
a/source/src/vm/fm7/vram.cpp
b/source/src/vm/fm7/vram.cpp
index
5783300
..
086ceb3
100644
(file)
--- a/
source/src/vm/fm7/vram.cpp
+++ b/
source/src/vm/fm7/vram.cpp
@@
-262,12
+262,14
@@
void DISPLAY::draw_screen2()
# if defined(_FM77AV40EX) || defined(_FM77AV40SX)
yoff_d = (dpage != 0) ? 0x18000 : 0x00000;
#else
-
//
yoff_d = 0;
+
yoff_d = 0;
#endif
#if defined(_FM77AV_VARIANTS)
if(display_page_bak == 1) yoff_d += 0xc000;
for(int i = 0; i < 3; i++) {
cmd.baseaddress[i] = yoff_d + (i * 0x4000);
+ cmd.data[i] = gvram_shadow;
+ cmd.voffset[i] = yoff;
}
#else
// for(int i = 0; i < 3; i++) {