Fix compile. (nw)

This commit is contained in:
couriersud 2015-02-01 13:34:02 +01:00
parent 786cd2af66
commit f56cc0e706
2 changed files with 2 additions and 2 deletions

View File

@ -279,7 +279,7 @@ HRESULT sound_direct_sound::dsound_init()
SDL_SysWMinfo wminfo;
SDL_VERSION(&wminfo.version);
#if (SDLMAME_SDL2)
SDL_GetWindowWMInfo(sdl_window_list->sdl_window, &wminfo);
SDL_GetWindowWMInfo(sdl_window_list->m_sdl_window, &wminfo);
result = IDirectSound_SetCooperativeLevel(dsound, wminfo.info.win.window, DSSCL_PRIORITY);
#else
SDL_GetWMInfo(&wminfo);

View File

@ -2462,7 +2462,7 @@ INLINE void copyline_yuy16_to_argb(UINT32 *dst, const UINT16 *src, int width, co
int x;
assert(xborderpix == 0 || xborderpix == 2);
assert(m_width % 2 == 0);
assert(width % 2 == 0);
// palette (really RGB map) case
if (palette != NULL)