Skip to content

Commit

Permalink
Fix 6270 VRAM-DMA
Browse files Browse the repository at this point in the history
  • Loading branch information
drhelius committed Sep 10, 2024
1 parent f9db013 commit 35ae273
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/huc6270_inline.h
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ inline void HuC6270::WriteRegister(u32 address, u8 value)
m_register[HUC6270_REG_DESR] += dest_increment;
m_register[HUC6270_REG_LENR]--;
}
while (m_register[HUC6270_REG_LENR]);
while (m_register[HUC6270_REG_LENR] != 0xFFFF);

m_status_register |= HUC6270_STATUS_VRAM_END;
if (m_register[HUC6270_REG_DCR] & 0x02)
Expand Down

0 comments on commit 35ae273

Please sign in to comment.