mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-22 12:33:29 +00:00
Avoid infinite loop.
This commit is contained in:
parent
3781b5eb0e
commit
7030646671
@ -162,6 +162,11 @@ struct Chipset {
|
||||
|
||||
// Loop until another [comparable] bus transaction appears, and test.
|
||||
while(true) {
|
||||
if(!(blitter.get_status() & 0x4000)) {
|
||||
XCTAssert(false, @"Blitter terminated early at index %lu", (unsigned long)index);
|
||||
return;
|
||||
}
|
||||
|
||||
blitter.advance_dma();
|
||||
|
||||
const auto transactions = blitter.get_and_reset_transactions();
|
||||
|
Loading…
Reference in New Issue
Block a user