1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-21 17:16:44 +00:00

Corrects emulation-mode read-modify-writes not to empty the data buffer.

This commit is contained in:
Thomas Harte
2020-10-09 22:14:42 -04:00
parent b439f40fe2
commit 451f83ba51
4 changed files with 14 additions and 4 deletions
@@ -157,7 +157,7 @@ struct CPU::WDC65816::ProcessorStorageConstructor {
target(CycleFetchData); // Data [high].
if(!is8bit) target(CycleFetchData); // 16-bit: reread final byte of data.
else target(CycleStoreData); // 8-bit rewrite final byte of data.
else target(CycleStoreDataThrowaway); // 8-bit rewrite final byte of data.
target(OperationPerform); // Perform operation within the data buffer.