diff --git a/src/emucore/Lightgun.cxx b/src/emucore/Lightgun.cxx index faf63e92e..423f92a75 100644 --- a/src/emucore/Lightgun.cxx +++ b/src/emucore/Lightgun.cxx @@ -48,7 +48,7 @@ bool Lightgun::read(DigitalPin pin) Int32 xMouse = (myEvent.get(Event::MouseAxisXValue) - rect.x()) * tia.width() / rect.w(); Int32 yMouse = (myEvent.get(Event::MouseAxisYValue) - rect.y()) - * tia.height() / rect.h(); + * tia.height() / rect.h(); // get adjusted TIA coordinates Int32 xTia = tia.clocksThisLine() - TIAConstants::H_BLANK_CLOCKS + X_OFS; diff --git a/src/emucore/Lightgun.hxx b/src/emucore/Lightgun.hxx index 928f705b0..4abdc236a 100644 --- a/src/emucore/Lightgun.hxx +++ b/src/emucore/Lightgun.hxx @@ -28,7 +28,7 @@ class Lightgun : public Controller { public: /** - Create a new pair of paddle controllers plugged into the specified jack + Create a new lightgun controller plugged into the specified jack @param jack The jack the controller is plugged into @param event The event object to use for events diff --git a/src/emucore/stella.pro b/src/emucore/stella.pro index b07c2578b..3d24d16b9 100644 --- a/src/emucore/stella.pro +++ b/src/emucore/stella.pro @@ -17321,7 +17321,8 @@ "" "Cart.MD5" "d65900fefa7dc18ac3ad99c213e2fa4e" -"Cart.Name" "Grid and Purple Dot Demo (PD)" +"Cart.Name" "Guntest (2000) (Eckhard Stolberg)" +"Cart.Note" "Light Gun Test (based on Sentinel code)" "" "Cart.MD5" "d69559f9c9dc6ef528d841bf9d91b275"