mirror of
https://github.com/holub/mame
synced 2025-04-24 17:30:55 +03:00
Fix compile. (nw)
This commit is contained in:
parent
786cd2af66
commit
f56cc0e706
@ -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);
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user