Skip to content

Commit

Permalink
DMD: Fix shifted Capcom display
Browse files Browse the repository at this point in the history
Fix #328
  • Loading branch information
vbousquet committed Sep 18, 2024
1 parent efd9101 commit a24d9dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/wpc/capcom.c
Original file line number Diff line number Diff line change
Expand Up @@ -949,7 +949,7 @@ PINMAME_VIDEO_UPDATE(cc_dmd128x32) {
int ii, jj, kk;
UINT16 *RAM;

UINT32 offset = locals.visible_page ? 0x800 * locals.visible_page - 0x10 : 0;
UINT32 offset = locals.visible_page ? 0x800 * locals.visible_page : 0;
RAM = ramptr+offset;
for (ii = 0; ii < 32; ii++) {
UINT8 *line = &coreGlobals.dmdDotRaw[ii*layout->length];
Expand All @@ -975,7 +975,7 @@ PINMAME_VIDEO_UPDATE(cc_dmd256x64) {
int ii, jj, kk;
UINT16 *RAM;

UINT32 offset = locals.visible_page ? 0x800 * locals.visible_page - 0x20 : 0;
UINT32 offset = locals.visible_page ? 0x800 * locals.visible_page : 0;
RAM = ramptr+offset;
for (ii = 0; ii < 64; ii++) {
UINT8 *linel = &coreGlobals.dmdDotRaw[ii * layout->length];
Expand Down

0 comments on commit a24d9dc

Please sign in to comment.