Ban compression of Wii images until it has been tested. All sorts of minor cleanup.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@669 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard
2008-09-24 19:10:56 +00:00
parent 284e3ec211
commit e4785df7a2
18 changed files with 121 additions and 107 deletions

View File

@ -303,8 +303,8 @@ void SendReportCoreAccelIr12() {
RECT screenRect;
POINT point;
_dbg_assert_(WIIMOTE, GetClipCursor(&screenRect));
_dbg_assert_(WIIMOTE, GetCursorPos(&point));
GetClipCursor(&screenRect);
GetCursorPos(&point);
y0 = y1 = (point.y * (screenRect.bottom - screenRect.top)) / (BOTTOM - TOP);
int x = (point.x * (screenRect.right - screenRect.left)) / (RIGHT - LEFT);
x0 = x - SENSOR_BAR_RADIUS;