Unverified Commit dc2da1f4 authored by Ignacio Sanchez Gines's avatar Ignacio Sanchez Gines
Browse files

Fix debugger sprites when out of view

parent aac5cd95
Pipeline #50651 passed with stages
in 16 minutes and 29 seconds
......@@ -1283,6 +1283,9 @@ static void debug_window_vram_sprites(void)
for (int s = 0; s < 64; s++)
{
if ((p[s].x == 0) && (p[s].y == 0))
continue;
float mouse_x = io.MousePos.x - p[s].x;
float mouse_y = io.MousePos.y - p[s].y;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment