mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-04 14:01:17 +12:00
Fix render resolution at different UI scales (#514)
This commit is contained in:
parent
a3476c7b7c
commit
d3721c3f46
18 changed files with 128 additions and 57 deletions
|
@ -287,9 +287,9 @@ void VPADController::update_motion(VPADStatus_t& status)
|
|||
|
||||
int w, h;
|
||||
if (pad_view)
|
||||
gui_getPadWindowSize(&w, &h);
|
||||
gui_getPadWindowPhysSize(w, h);
|
||||
else
|
||||
gui_getWindowSize(&w, &h);
|
||||
gui_getWindowPhysSize(w, h);
|
||||
|
||||
float wx = mousePos.x / w;
|
||||
float wy = mousePos.y / h;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue