|
[openMSX-commits] CVS: openMSX/src/events HotKey.cc,1.10,1.11
From: Wouter Vermaelen <m9710797@us...> - 2003-01-27 21:06
|
Update of /cvsroot/openmsx/openMSX/src/events
In directory sc8-pr-cvs1:/tmp/cvs-serv23383/src/events
Modified Files:
HotKey.cc
Log Message:
Moved hard-coded HotKey bindings to settings.xml
Index: HotKey.cc
===================================================================
RCS file: /cvsroot/openmsx/openMSX/src/events/HotKey.cc,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- HotKey.cc 21 Jan 2003 22:47:40 -0000 1.10
+++ HotKey.cc 27 Jan 2003 21:06:08 -0000 1.11
@@ -108,7 +108,11 @@
}
void HotKey::HotKeyCmd::signalHotKey(Keys::KeyCode key, const EmuTime &time)
{
- CommandController::instance()->executeCommand(command, time);
+ try {
+ CommandController::instance()->executeCommand(command, time);
+ } catch (CommandException &e) {
+ // ignore error
+ }
}
|
| Thread | Author | Date |
|---|---|---|
| [openMSX-commits] CVS: openMSX/src/events HotKey.cc,1.10,1.11 | Wouter Vermaelen <m9710797@us...> |