1
0
mirror of https://github.com/pevans/erc-c.git synced 2024-11-23 23:32:45 +00:00

Comment out cycles

This commit is contained in:
Peter Evans 2018-01-23 21:41:43 -06:00
parent 9f518d5141
commit 882cf2c166

View File

@ -348,7 +348,7 @@ void
mos6502_execute(mos6502 *cpu) mos6502_execute(mos6502 *cpu)
{ {
vm_8bit opcode, operand = 0; vm_8bit opcode, operand = 0;
int cycles, bytes; int /*cycles,*/ bytes;
mos6502_address_resolver resolver; mos6502_address_resolver resolver;
mos6502_instruction_handler handler; mos6502_instruction_handler handler;
@ -390,7 +390,7 @@ mos6502_execute(mos6502 *cpu)
// with the idea that certain instructions -- in certain address // with the idea that certain instructions -- in certain address
// modes -- were more expensive than others, and you want those // modes -- were more expensive than others, and you want those
// programs to feel faster or slower in relation to that. // programs to feel faster or slower in relation to that.
cycles = mos6502_cycles(cpu, opcode); //cycles = mos6502_cycles(cpu, opcode);
// If we need to jump, then the handler has to take care of updating // If we need to jump, then the handler has to take care of updating
// PC. If not, then we need to do it. // PC. If not, then we need to do it.