mirror of https://github.com/PCSX2/pcsx2.git
GunCon2: Fix cursor assertions in devbuilds
This commit is contained in:
parent
609cb44b01
commit
a8d07df81d
|
@ -1049,7 +1049,7 @@ void ImGuiManager::ClearSoftwareCursor(u32 index)
|
|||
|
||||
void ImGuiManager::SetSoftwareCursorPosition(u32 index, float pos_x, float pos_y)
|
||||
{
|
||||
pxAssert(index >= InputManager::MAX_POINTER_DEVICES);
|
||||
pxAssert(index < InputManager::MAX_SOFTWARE_CURSORS);
|
||||
SoftwareCursor& sc = s_software_cursors[index];
|
||||
sc.pos.first = pos_x;
|
||||
sc.pos.second = pos_y;
|
||||
|
|
|
@ -427,7 +427,6 @@ namespace usb_lightgun
|
|||
|
||||
void GunCon2State::UpdateSoftwarePointerPosition()
|
||||
{
|
||||
pxAssert(has_relative_binds);
|
||||
if (cursor_path.empty())
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in New Issue