Opened 11 years ago

Closed 11 years ago

Last modified 15 months ago

#4204 closed defect

WINCE: compilation broken

Reported by: SF/lostech Owned by: SF/knakos
Priority: normal Component: Port: WinCE
Keywords: build Cc:
Game:

Description

WINCE compilation is broken.

SVN revision: 38926 Compiler: Cygwin/cegcc

Ticket imported from: #2644574. Ticket imported from: bugs/4204.

Attachments (1)

log.txt (1.3 KB ) - added by SF/lostech 11 years ago.

Download all attachments as: .zip

Change History (6)

by SF/lostech, 11 years ago

Attachment: log.txt added

comment:1 by SF/mac_es, 11 years ago

Here you a patch, it is working ok for me...

Index: backends/platform/wince/wince-sdl.cpp

--- backends/platform/wince/wince-sdl.cpp
+++ backends/platform/wince/wince-sdl.cpp (working copy) @@ -1931,7 +1931,7 @@

void OSystem_WINCE3::internDrawMouse() { - if (_mouseDrawn || !_mouseVisible || !_mouseData) + if (!_mouseNeedsRedraw || !_mouseVisible || !_mouseData) return;

int x = _mouseCurState.x - _mouseHotspotX; @@ -2016,15 +2016,15 @@ SDL_UnlockSurface(_overlayVisible ? _overlayscreen : _screen);

// Finally, set the flag to indicate the mouse has been drawn - _mouseDrawn = true; + _mouseNeedsRedraw = false; }

void OSystem_WINCE3::undrawMouse() { assert (_transactionMode == kTransactionNone);

- if (!_mouseDrawn) + if (_mouseNeedsRedraw) return; - _mouseDrawn = false; + _mouseNeedsRedraw = true;

int old_mouse_x = _mouseCurState.x - _mouseHotspotX; int old_mouse_y = _mouseCurState.y - _mouseHotspotY;

comment:2 by fingolfin, 11 years ago

Owner: set to SF/knakos

comment:3 by SF/knakos, 11 years ago

Status: newclosed

comment:4 by SF/knakos, 11 years ago

committed in rev 39043. Thanks.

comment:5 by digitall, 15 months ago

Component: Port: WinCE
Note: See TracTickets for help on using tickets.