Fix mouse support in arkanoid and zapper (#93)

It regressed with this commit:
c21b4748c7

It is similar to this fix:
78587dbd89
This commit is contained in:
Scott Cytacki
2025-01-19 14:18:01 -05:00
committed by GitHub
parent 9762adc006
commit 5b56b6b98e

View File

@@ -738,7 +738,6 @@ static bool NST_CALLBACK arkanoid_callback(Api::Base::UserData data, Core::Input
int min_x = overscan_h_left;
int max_x = 255 - overscan_h_right;
cur_x = min_x;
unsigned int button = 0;
switch (arkanoid_device)
@@ -799,8 +798,6 @@ static bool NST_CALLBACK zapper_callback(Api::Base::UserData data, Core::Input::
int min_y = overscan_v_top;
int max_y = 239 - overscan_v_bottom;
cur_x = min_x;
cur_y = min_y;
zapper.fire = 0;
if (show_crosshair)