From 13b862c4fae88f0f819c2c4416d49249e4de45b9 Mon Sep 17 00:00:00 2001 From: DopefishJustin Date: Wed, 28 Jan 2015 06:28:35 +0000 Subject: JSMESS compile fixes (nw) --- src/osd/modules/sound/js_sound.c | 1 - src/osd/sdl/video.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/osd/modules/sound/js_sound.c b/src/osd/modules/sound/js_sound.c index 5eef777ec7d..f3e11785633 100644 --- a/src/osd/modules/sound/js_sound.c +++ b/src/osd/modules/sound/js_sound.c @@ -13,7 +13,6 @@ #if (defined(SDLMAME_EMSCRIPTEN)) -#include "js_sound.h" #include "emscripten.h" class sound_js : public osd_module, public sound_module diff --git a/src/osd/sdl/video.c b/src/osd/sdl/video.c index 32114b59785..bef84f9ba86 100644 --- a/src/osd/sdl/video.c +++ b/src/osd/sdl/video.c @@ -227,7 +227,7 @@ void sdlvideo_monitor_refresh(sdl_monitor_info *monitor) SDL_VideoDriverName(monitor->monitor_device, sizeof(monitor->monitor_device)-1); if (first_call==0) { - char *dimstr = osd_getenv(SDLENV_DESKTOPDIM); + const char *dimstr = osd_getenv(SDLENV_DESKTOPDIM); const SDL_VideoInfo *sdl_vi; sdl_vi = SDL_GetVideoInfo(); -- cgit v1.2.3