summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author DopefishJustin <dopefishjustin@gmail.com>2015-01-28 06:28:35 +0000
committer DopefishJustin <dopefishjustin@gmail.com>2015-01-28 06:28:35 +0000
commit13b862c4fae88f0f819c2c4416d49249e4de45b9 (patch)
treee14a91c26f5c00e0979a9711ff4bca41c2011cc0
parentb3f944dd946f3e6d5c7ac3639915f9b91ecf55f6 (diff)
JSMESS compile fixes (nw)
-rw-r--r--src/osd/modules/sound/js_sound.c1
-rw-r--r--src/osd/sdl/video.c2
2 files changed, 1 insertions, 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();