test(nes): consolidate and simplify inline subsystem unit tests
This commit is contained in:
@@ -212,13 +212,13 @@ pub fn irqAsserted(self: *const FrameCounter) bool {
|
||||
}
|
||||
|
||||
pub fn clearIrq(self: *FrameCounter) void {
|
||||
// ponytail: simultaneous read and IRQ set does not clear flag
|
||||
// simultaneous read and IRQ set does not clear flag
|
||||
if (!self.irq_just_set) {
|
||||
self.irq_flag = false;
|
||||
}
|
||||
}
|
||||
|
||||
// ponytail: consolidated frame counter unit test suite
|
||||
// consolidated frame counter unit test suite
|
||||
test "frame counter 4-step and 5-step mode timings, irq window and write delays" {
|
||||
var fc = FrameCounter.init(.ntsc);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user