rename light gun test ROM in properties

This commit is contained in:
thrust26 2019-12-31 12:41:01 +01:00
parent 1dcd960b8d
commit bfbc1be35c
3 changed files with 4 additions and 3 deletions

View File

@ -48,7 +48,7 @@ bool Lightgun::read(DigitalPin pin)
Int32 xMouse = (myEvent.get(Event::MouseAxisXValue) - rect.x()) Int32 xMouse = (myEvent.get(Event::MouseAxisXValue) - rect.x())
* tia.width() / rect.w(); * tia.width() / rect.w();
Int32 yMouse = (myEvent.get(Event::MouseAxisYValue) - rect.y()) Int32 yMouse = (myEvent.get(Event::MouseAxisYValue) - rect.y())
* tia.height() / rect.h(); * tia.height() / rect.h();
// get adjusted TIA coordinates // get adjusted TIA coordinates
Int32 xTia = tia.clocksThisLine() - TIAConstants::H_BLANK_CLOCKS + X_OFS; Int32 xTia = tia.clocksThisLine() - TIAConstants::H_BLANK_CLOCKS + X_OFS;

View File

@ -28,7 +28,7 @@ class Lightgun : public Controller
{ {
public: 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 jack The jack the controller is plugged into
@param event The event object to use for events @param event The event object to use for events

View File

@ -17321,7 +17321,8 @@
"" ""
"Cart.MD5" "d65900fefa7dc18ac3ad99c213e2fa4e" "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" "Cart.MD5" "d69559f9c9dc6ef528d841bf9d91b275"