summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2014-07-22 06:14:55 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2014-07-22 06:14:55 +0000
commit5d7e1fcc62a7f9dd5441eaccbc274f9327efcf00 (patch)
tree59a6e5c3c090f1f83dfd20359ab321fb69713e00 /src/osd/modules
parentc4e9058ee26841baae4c0fd51e081949747d5f48 (diff)
Cleanups and version bump
Diffstat (limited to 'src/osd/modules')
-rw-r--r--src/osd/modules/debugger/debugqt.c3
-rw-r--r--src/osd/modules/debugger/none.c1
-rw-r--r--src/osd/modules/sound/direct_sound.c1
-rw-r--r--src/osd/modules/sound/js_sound.c16
-rw-r--r--src/osd/modules/sound/none.c2
5 files changed, 10 insertions, 13 deletions
diff --git a/src/osd/modules/debugger/debugqt.c b/src/osd/modules/debugger/debugqt.c
index 06588854d83..55956500398 100644
--- a/src/osd/modules/debugger/debugqt.c
+++ b/src/osd/modules/debugger/debugqt.c
@@ -281,7 +281,7 @@ void debugger_qt::wait_for_debugger(device_t &device, bool firststop)
if (firststop)
{
- bring_main_window_to_front();
+ bring_main_window_to_front();
}
// Set the main window to display the proper cpu
@@ -338,4 +338,3 @@ void debugger_qt::debugger_update()
void debugger_qt::debugger_exit()
{
}
-
diff --git a/src/osd/modules/debugger/none.c b/src/osd/modules/debugger/none.c
index 255646551fc..fd6d55ca3dc 100644
--- a/src/osd/modules/debugger/none.c
+++ b/src/osd/modules/debugger/none.c
@@ -33,4 +33,3 @@ void debugger_none::debugger_update()
void debugger_none::debugger_exit()
{
}
-
diff --git a/src/osd/modules/sound/direct_sound.c b/src/osd/modules/sound/direct_sound.c
index 8aaeb4efe48..fc7909569e7 100644
--- a/src/osd/modules/sound/direct_sound.c
+++ b/src/osd/modules/sound/direct_sound.c
@@ -389,4 +389,3 @@ void sound_direct_sound::dsound_destroy_buffers(void)
IDirectSoundBuffer_Release(primary_buffer);
primary_buffer = NULL;
}
-
diff --git a/src/osd/modules/sound/js_sound.c b/src/osd/modules/sound/js_sound.c
index a2bc6086343..d92ca397278 100644
--- a/src/osd/modules/sound/js_sound.c
+++ b/src/osd/modules/sound/js_sound.c
@@ -22,18 +22,18 @@ sound_js::sound_js(const osd_interface &osd)
void sound_js::update_audio_stream(const INT16 *buffer, int samples_this_frame)
{
- EM_ASM_ARGS({
- // Forward audio stream update on to JS backend implementation.
- jsmess_update_audio_stream($0, $1);
- }, (unsigned int)buffer, samples_this_frame);
+ EM_ASM_ARGS({
+ // Forward audio stream update on to JS backend implementation.
+ jsmess_update_audio_stream($0, $1);
+ }, (unsigned int)buffer, samples_this_frame);
}
void sound_js::set_mastervolume(int attenuation)
{
- EM_ASM_ARGS({
- // Forward volume update on to JS backend implementation.
- jsmess_set_mastervolume($0);
- }, attenuation);
+ EM_ASM_ARGS({
+ // Forward volume update on to JS backend implementation.
+ jsmess_set_mastervolume($0);
+ }, attenuation);
}
const osd_sound_type OSD_SOUND_JS = &osd_sound_creator<sound_js>;
diff --git a/src/osd/modules/sound/none.c b/src/osd/modules/sound/none.c
index 1ae0a608016..6e776f03a78 100644
--- a/src/osd/modules/sound/none.c
+++ b/src/osd/modules/sound/none.c
@@ -20,4 +20,4 @@ sound_none::sound_none(const osd_interface &osd)
}
-const osd_sound_type OSD_SOUND_NONE = &osd_sound_creator<sound_none>; \ No newline at end of file
+const osd_sound_type OSD_SOUND_NONE = &osd_sound_creator<sound_none>;