diff options
| author | 2014-10-15 07:19:47 +0000 | |
|---|---|---|
| committer | 2014-10-15 07:19:47 +0000 | |
| commit | c93ed344fbd26a9c2c49bdbc99014d8dc0cbe9ef (patch) | |
| tree | a5017b8341bdadc5bcd1185ae49fe4c0a85424b8 /src/osd/windows | |
| parent | a4dd32afb6cbfaae0e452c90486060682ab1c31c (diff) | |
Cleanups and version bumpmame0155
Diffstat (limited to 'src/osd/windows')
| -rw-r--r-- | src/osd/windows/vconv.c | 2 | ||||
| -rw-r--r-- | src/osd/windows/video.c | 10 | ||||
| -rw-r--r-- | src/osd/windows/video.h | 6 | ||||
| -rw-r--r-- | src/osd/windows/window.c | 12 | ||||
| -rw-r--r-- | src/osd/windows/window.h | 4 | ||||
| -rw-r--r-- | src/osd/windows/winos.c | 2 | ||||
| -rw-r--r-- | src/osd/windows/winos.h | 2 | ||||
| -rw-r--r-- | src/osd/windows/winsync.c | 2 | ||||
| -rw-r--r-- | src/osd/windows/winsync.h | 2 |
9 files changed, 21 insertions, 21 deletions
diff --git a/src/osd/windows/vconv.c b/src/osd/windows/vconv.c index 3defa283a79..841895bcda4 100644 --- a/src/osd/windows/vconv.c +++ b/src/osd/windows/vconv.c @@ -99,7 +99,7 @@ static const translation_info gcc_translate[] = { 0, "c++", "" }, { 0, "-flto", "/GL" }, { 0, "-fno-optimize-sibling-calls", "" }, - { VS2005, "-fopenmp", "/openmp" }, + { VS2005, "-fopenmp", "/openmp" }, { 0 } }; diff --git a/src/osd/windows/video.c b/src/osd/windows/video.c index 65a82976cc6..1841ad30100 100644 --- a/src/osd/windows/video.c +++ b/src/osd/windows/video.c @@ -97,7 +97,7 @@ bool windows_osd_interface::video_init() void windows_osd_interface::video_exit() { window_exit(); - + // free all of our monitor information while (win_monitor_list != NULL) { @@ -111,10 +111,10 @@ void windows_osd_interface::video_exit() win_monitor_info::win_monitor_info() : next(NULL), - handle(NULL), - aspect(0.0f), - reqwidth(0), - reqheight(0) + handle(NULL), + aspect(0.0f), + reqwidth(0), + reqheight(0) { } diff --git a/src/osd/windows/video.h b/src/osd/windows/video.h index 46eb17978bf..23a8f62bde9 100644 --- a/src/osd/windows/video.h +++ b/src/osd/windows/video.h @@ -38,11 +38,11 @@ public: void refresh(); float get_aspect(); void set_aspect(float a) { aspect = a; } - + win_monitor_info * next; // pointer to next monitor in list HMONITOR handle; // handle to the monitor - MONITORINFOEX info; // most recently retrieved info -private: + MONITORINFOEX info; // most recently retrieved info +private: float aspect; // computed/configured aspect ratio of the physical device int reqwidth; // requested width for this monitor int reqheight; // requested height for this monitor diff --git a/src/osd/windows/window.c b/src/osd/windows/window.c index 44ec17cb70b..28794405c62 100644 --- a/src/osd/windows/window.c +++ b/src/osd/windows/window.c @@ -245,7 +245,7 @@ bool windows_osd_interface::window_init() // set up the window list last_window_ptr = &win_window_list; - + return true; } @@ -313,7 +313,7 @@ win_window_info::win_window_info(running_machine &machine) m_target(NULL), m_targetview(0), m_targetorient(0), - m_primlist(NULL), + m_primlist(NULL), m_lastclicktime(0), m_lastclickx(0), m_lastclicky(0), @@ -321,9 +321,9 @@ win_window_info::win_window_info(running_machine &machine) m_machine(machine) { memset(m_title,0,sizeof(m_title)); - m_non_fullscreen_bounds.left = 0; - m_non_fullscreen_bounds.top = 0; - m_non_fullscreen_bounds.right = 0; + m_non_fullscreen_bounds.left = 0; + m_non_fullscreen_bounds.top = 0; + m_non_fullscreen_bounds.right = 0; m_non_fullscreen_bounds.bottom = 0; } @@ -331,7 +331,7 @@ win_window_info::~win_window_info() { } - + //============================================================ // winwindow_process_events_periodic // (main thread) diff --git a/src/osd/windows/window.h b/src/osd/windows/window.h index 3af43f6bf1f..b2c6ea2e994 100644 --- a/src/osd/windows/window.h +++ b/src/osd/windows/window.h @@ -36,12 +36,12 @@ class win_window_info { public: win_window_info(running_machine &machine); - virtual ~win_window_info(); + virtual ~win_window_info(); running_machine &machine() const { return m_machine; } void update(); - + win_window_info * m_next; volatile int m_init_state; diff --git a/src/osd/windows/winos.c b/src/osd/windows/winos.c index 8d32c5ec62b..a5afa35a824 100644 --- a/src/osd/windows/winos.c +++ b/src/osd/windows/winos.c @@ -32,4 +32,4 @@ int osd_get_num_processors(void) char *osd_getenv(const char *name) { return getenv(name); -}
\ No newline at end of file +} diff --git a/src/osd/windows/winos.h b/src/osd/windows/winos.h index bef3d799760..55284d8ac14 100644 --- a/src/osd/windows/winos.h +++ b/src/osd/windows/winos.h @@ -29,4 +29,4 @@ int osd_get_num_processors(void); pointer to value -----------------------------------------------------------------------------*/ -char *osd_getenv(const char *name);
\ No newline at end of file +char *osd_getenv(const char *name); diff --git a/src/osd/windows/winsync.c b/src/osd/windows/winsync.c index 4ef161dd001..ce69cea1651 100644 --- a/src/osd/windows/winsync.c +++ b/src/osd/windows/winsync.c @@ -373,4 +373,4 @@ void osd_scalable_lock_free(osd_scalable_lock *lock) DeleteCriticalSection(&lock->section); #endif free(lock); -}
\ No newline at end of file +} diff --git a/src/osd/windows/winsync.h b/src/osd/windows/winsync.h index c574a9ba75c..725d459366d 100644 --- a/src/osd/windows/winsync.h +++ b/src/osd/windows/winsync.h @@ -197,4 +197,4 @@ void osd_scalable_lock_release(osd_scalable_lock *lock, INT32 myslot); void osd_scalable_lock_free(osd_scalable_lock *lock); -#endif /* __WINSYNC__ */
\ No newline at end of file +#endif /* __WINSYNC__ */ |
