From 8f91533a9a51138b29d2b1d38d33a06dae6e2055 Mon Sep 17 00:00:00 2001 From: Jeff Verkoeyen Date: Fri, 15 Jan 2021 12:49:24 -0500 Subject: [PATCH] Revert nil check changes. --- Cocoa/Document.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cocoa/Document.m b/Cocoa/Document.m index 516b6e0..0561074 100644 --- a/Cocoa/Document.m +++ b/Cocoa/Document.m @@ -434,7 +434,7 @@ static unsigned *multiplication_table_for_frequency(unsigned frequency) - (void) run { - assert(master == nil); + assert(!master); running = true; [self preRun]; if (slave) { @@ -2029,7 +2029,7 @@ static unsigned *multiplication_table_for_frequency(unsigned frequency) - (bool)isSlave { - return master != nil; + return master; } - (GB_gameboy_t *)gb