mirror of
https://github.com/pevans/erc-c.git
synced 2024-12-21 23:29:16 +00:00
Set strobe to false by default
Otherwise we could get garbage values, and that was flagging some tests as failed at random times
This commit is contained in:
parent
c8dbf1c84c
commit
c0ce4ec2f1
@ -42,6 +42,10 @@ apple2_create(int width, int height)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// By default, we have no strobe set; it should only be set when a
|
||||
// key is pressed
|
||||
mach->strobe = false;
|
||||
|
||||
// Forward set these to NULL in case we fail to build the machine
|
||||
// properly; that way, we won't try to free garbage data
|
||||
mach->rom = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user