summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2018-05-27 04:48:13 +1000
committer Vas Crabb <vas@vastheman.com>2018-05-27 04:48:13 +1000
commitc15531dddca6a144b9172077fe7251ea96f4cc7e (patch)
treef2ffe409c8d6f6392d99e16540a6492a18fa4630 /src/osd
parentdecf1fd1fa17a45e2547c5b8d059da3665fb971b (diff)
srcclean (nw)
Diffstat (limited to 'src/osd')
-rw-r--r--src/osd/modules/output/network.cpp4
-rw-r--r--src/osd/modules/output/output_module.h4
-rw-r--r--src/osd/modules/output/win32_output.cpp6
-rw-r--r--src/osd/modules/output/win32_output.h4
4 files changed, 9 insertions, 9 deletions
diff --git a/src/osd/modules/output/network.cpp b/src/osd/modules/output/network.cpp
index 6c0af498204..f4db109c829 100644
--- a/src/osd/modules/output/network.cpp
+++ b/src/osd/modules/output/network.cpp
@@ -63,7 +63,7 @@ private:
char *msg_value = strtok(NULL, equals_delimiter);
//printf("handle_message: msg_name [%s] msg_value [%s]\n", msg_name, msg_value);
-
+
if (std::strcmp(msg_name, "mame_message") == 0)
{
const char *comma_delimiter = ",";
@@ -71,7 +71,7 @@ private:
msg_value = strtok(NULL, comma_delimiter);
int id = atoi(msg_name);
int value = atoi(msg_value);
-
+
switch(id)
{
case IM_MAME_PAUSE:
diff --git a/src/osd/modules/output/output_module.h b/src/osd/modules/output/output_module.h
index 53cc46135ac..9046fda3252 100644
--- a/src/osd/modules/output/output_module.h
+++ b/src/osd/modules/output/output_module.h
@@ -17,8 +17,8 @@
#define OSD_OUTPUT_PROVIDER "output"
-#define IM_MAME_PAUSE 0
-#define IM_MAME_SAVESTATE 1
+#define IM_MAME_PAUSE 0
+#define IM_MAME_SAVESTATE 1
class output_module
{
diff --git a/src/osd/modules/output/win32_output.cpp b/src/osd/modules/output/win32_output.cpp
index 64ab54014e0..3ee2cd6c17e 100644
--- a/src/osd/modules/output/win32_output.cpp
+++ b/src/osd/modules/output/win32_output.cpp
@@ -54,7 +54,7 @@ static UINT om_mame_register_client;
static UINT om_mame_unregister_client;
static UINT om_mame_get_id_string;
-static UINT im_mame_message;
+static UINT im_mame_message;
//============================================================
// FUNCTION PROTOTYPES
@@ -220,7 +220,7 @@ static LRESULT CALLBACK output_window_proc(HWND wnd, UINT message, WPARAM wparam
// get a string for an ID
else if (message == om_mame_get_id_string)
return output.send_id_string((HWND)wparam, lparam);
-
+
// received a message
else if (message == im_mame_message)
{
@@ -238,7 +238,7 @@ static LRESULT CALLBACK output_window_proc(HWND wnd, UINT message, WPARAM wparam
output.machine().schedule_save("auto");
break;
}
-
+
return 0;
}
diff --git a/src/osd/modules/output/win32_output.h b/src/osd/modules/output/win32_output.h
index 6b52a164051..f0996b52082 100644
--- a/src/osd/modules/output/win32_output.h
+++ b/src/osd/modules/output/win32_output.h
@@ -64,9 +64,9 @@
#define OM_MAME_GET_ID_STRING TEXT("MAMEOutputGetIDString")
// IM_MAME_MESSAGE: send message to MAME
-// WPARAM = ID of the message
+// WPARAM = ID of the message
// LPARAM = value
-#define IM_MAME_MESSAGE TEXT("MAMEInputMessage")
+#define IM_MAME_MESSAGE TEXT("MAMEInputMessage")
//
// These constants are used to identify WM_COPYDATA messages