Implement for Mac as well

This commit is contained in:
Henrik Rydgård committed 2025-04-15 00:08:39 +02:00
1 parent 96b4daf0ba
commit a3d7344e1e
4 files changed
+13 -10

No files matched your search

+4
View File
@@ -166,6 +166,7 @@
bool HandleGlobalMessage(UIMessage message, const std::string &value);
static void ProcessWheelRelease(InputKeyCode keyCode, double now, bool keyPress);
void SaveFrameDump();
ScreenManager *g_screenManager;
std::string config_filename;
@@ -1255,6 +1256,9 @@ bool HandleGlobalMessage(UIMessage message, const std::string &value) {
// Assume that the user may have modified things.
MemoryStick_NotifyWrite();
return true;
} else if (message == UIMessage::SAVE_FRAME_DUMP) {
SaveFrameDump();
return true;
} else {
return false;
}