diff --git a/OSBindings/Mac/Clock Signal/Machine/CSMachine.h b/OSBindings/Mac/Clock Signal/Machine/CSMachine.h index 745bc9eb3..ae801b5f1 100644 --- a/OSBindings/Mac/Clock Signal/Machine/CSMachine.h +++ b/OSBindings/Mac/Clock Signal/Machine/CSMachine.h @@ -73,7 +73,7 @@ typedef NS_ENUM(NSInteger, CSMachineKeyboardInputMode) { - (void)setMouseButton:(int)button isPressed:(BOOL)isPressed; - (void)addMouseMotionX:(CGFloat)deltaX y:(CGFloat)deltaY; -@property (atomic, strong, nullable) CSAudioQueue *audioQueue; +@property (nonatomic, strong, nullable) CSAudioQueue *audioQueue; @property (nonatomic, readonly, nonnull) CSScanTargetView *view; @property (nonatomic, weak, nullable) id<CSMachineDelegate> delegate; diff --git a/OSBindings/Mac/Clock Signal/Machine/CSMachine.mm b/OSBindings/Mac/Clock Signal/Machine/CSMachine.mm index b75edb10a..b9b312b79 100644 --- a/OSBindings/Mac/Clock Signal/Machine/CSMachine.mm +++ b/OSBindings/Mac/Clock Signal/Machine/CSMachine.mm @@ -39,9 +39,9 @@ namespace { struct MachineUpdater { void perform(Time::Nanos duration) { - // Top out at 0.1 seconds; this is a safeguard against a negative + // Top out at 1/20th of a second; this is a safeguard against a negative // feedback loop if emulation starts running slowly. - const auto seconds = std::min(Time::seconds(duration), 0.1); + const auto seconds = std::min(Time::seconds(duration), 0.05); machine->run_for(seconds); } @@ -463,9 +463,6 @@ struct ActivityObserver: public Activity::Observer { updater.update([event] { event(); }); -// @synchronized(_inputEvents) { -// [_inputEvents addObject:event]; -// } } - (void)clearAllKeys {