Skip to content

Commit

Permalink
微調整
Browse files Browse the repository at this point in the history
  • Loading branch information
devmiyax committed Jun 18, 2022
1 parent 9baea5e commit e11f13d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion yabause/src/scu.c
Expand Up @@ -3212,7 +3212,7 @@ static INLINE void SendInterrupt(u8 vector, u8 level, u16 mask, u32 statusbit) {
}
else
{
LOG("%s(%x) is Queued IMS=%08X %d:%d", ScuGetVectorString(vector), vector, ScuRegs->IMS, yabsys.frame_count, yabsys.LineCount);
//LOG("%s(%x) is Queued IMS=%08X %d:%d", ScuGetVectorString(vector), vector, ScuRegs->IMS, yabsys.frame_count, yabsys.LineCount);
ScuQueueInterrupt(vector, level, mask, statusbit);
ScuRegs->IST |= statusbit;
}
Expand Down
8 changes: 4 additions & 4 deletions yabause/src/vdp2.cpp
Expand Up @@ -686,20 +686,20 @@ void VDP2genVRamCyclePattern() {
}

if (cpu_cycle_a == 0) {
Vdp2External.cpu_cycle_a = 120;
Vdp2External.cpu_cycle_a = 100;
}
else if (Vdp2External.cpu_cycle_a == 1) {
Vdp2External.cpu_cycle_a = 120;
Vdp2External.cpu_cycle_a = 100;
}
else {
Vdp2External.cpu_cycle_a = 80;
}

if (cpu_cycle_b == 0) {
Vdp2External.cpu_cycle_b = 120;
Vdp2External.cpu_cycle_b = 100;
}
else if (Vdp2External.cpu_cycle_a == 1) {
Vdp2External.cpu_cycle_b = 120;
Vdp2External.cpu_cycle_b = 100;
}
else {
Vdp2External.cpu_cycle_b = 80;
Expand Down

0 comments on commit e11f13d

Please sign in to comment.