bsnes: use hdot instead of hcounter in regs output

see #1183
This commit is contained in:
feos 2018-05-06 23:23:56 +03:00
parent 51b2843fed
commit 71cb2f9caa
3 changed files with 3 additions and 3 deletions

View File

@ -441,7 +441,7 @@ void CPUcore::disassemble_opcode(char *output, uint32 addr) {
strcat(s, t);
strcat(s, " ");
sprintf(t, "V:%3d H:%4d", cpu.vcounter(), cpu.hcounter());
sprintf(t, "V:%3d H:%4d", cpu.vcounter(), cpu.hdot());
strcat(s, t);
}

View File

@ -108,7 +108,7 @@ struct CPURegsComm {
u8 p, nothing;
u32 aa, rd;
u8 sp, dp, db, mdr;
u16 vcounter, hcounter;
u16 vcounter, hdot;
}
#ifndef _MSC_VER
__attribute__((__packed__))
@ -505,7 +505,7 @@ void QUERY_peek_cpu_regs() {
comm.cpuregs.vector = SNES::cpu.regs.vector;
comm.cpuregs.p = SNES::cpu.regs.p;
comm.cpuregs.vcounter = SNES::cpu.vcounter();
comm.cpuregs.hcounter = SNES::cpu.hcounter();
comm.cpuregs.hdot = SNES::cpu.hdot();
comm.cpuregs.nothing = 0;
}
void QUERY_peek_set_cdl() {