diff --git a/Cocoa/Document.m b/Cocoa/Document.m index 15595ea13..32682779d 100644 --- a/Cocoa/Document.m +++ b/Cocoa/Document.m @@ -2697,6 +2697,20 @@ enum GBWindowResizeAction }]; } +- (IBAction)reloadROM:(id)sender +{ + bool wasRunning = _running; + if (wasRunning) { + [self stop]; + } + + [self loadROM]; + + if (wasRunning) { + [self start]; + } +} + - (void)updateDebuggerButtons { bool updateContinue = false; diff --git a/Cocoa/MainMenu.xib b/Cocoa/MainMenu.xib index de138bd0c..ee78351fe 100644 --- a/Cocoa/MainMenu.xib +++ b/Cocoa/MainMenu.xib @@ -208,6 +208,11 @@ + + + + +