Previous 15994 Revisions Next

r13802 Saturday 31st December, 2011 at 22:57:37 UTC by R. Belmont
fix sdl compile (nw)
[src/osd/sdl]sdlmain.c

src/osd/sdl/sdlmain.c
r13801r13802
2323#endif
2424#endif
2525
26// standard includes
26// standard includes              c/mess/src/
2727#if !defined(SDLMAME_WIN32) && !defined(SDLMAME_OS2)
2828#include <unistd.h>
2929#endif
r13801r13802
10781078      bitmap = auto_alloc(machine(), bitmap_t(drawsurf->w, drawsurf->h, BITMAP_FORMAT_ARGB32));
10791079
10801080      // copy the rendered character image into it
1081      for (int y = 0; y < bitmap->height; y++)
1081      for (int y = 0; y < bitmap->height(); y++)
10821082      {
10831083         UINT32 *dstrow = &bitmap->pix32(y);
10841084         UINT8 *srcrow = (UINT8 *)drawsurf->pixels;

Previous 15994 Revisions Next


© 1998-2018 The MESS Team