Page 2 is not used if 80STORE is set. Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
This commit is contained in:
parent
b78a2224d0
commit
799ffc7604
1 changed files with 3 additions and 1 deletions
|
@ -141,7 +141,9 @@ void NFrame::VideoPresentScreen()
|
|||
|
||||
Video & video = GetVideo();
|
||||
|
||||
const int displaypage2 = video.VideoGetSWPAGE2() == 0 ? 0 : 1;
|
||||
// see NTSC_SetVideoMode in NTSC.cpp
|
||||
// we shoudl really use g_nTextPage and g_nHiresPage
|
||||
const int displaypage2 = (video.VideoGetSWPAGE2() && !video.VideoGetSW80STORE()) ? 1 : 0;
|
||||
|
||||
myHiresBank1 = MemGetAuxPtr (0x2000 << displaypage2);
|
||||
myHiresBank0 = MemGetMainPtr(0x2000 << displaypage2);
|
||||
|
|
Loading…
Add table
Reference in a new issue