diff options
Diffstat (limited to 'src/osd')
| -rw-r--r-- | src/osd/sdl/osdsdl.h | 2 | ||||
| -rw-r--r-- | src/osd/sdl/sdlfile.c | 2 | ||||
| -rw-r--r-- | src/osd/sdl/sdlptty_win32.c | 1 | ||||
| -rw-r--r-- | src/osd/sdl/sdlsocket.c | 2 | ||||
| -rw-r--r-- | src/osd/sdl/sdlsync_win32.c | 2 | ||||
| -rw-r--r-- | src/osd/sdl/video.c | 2 | ||||
| -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 |
15 files changed, 26 insertions, 27 deletions
diff --git a/src/osd/sdl/osdsdl.h b/src/osd/sdl/osdsdl.h index 7b146fc058b..5e039285369 100644 --- a/src/osd/sdl/osdsdl.h +++ b/src/osd/sdl/osdsdl.h @@ -83,7 +83,7 @@ #define SDLOPTVAL_OPENGL "opengl" #define SDLOPTVAL_SOFT "soft" -#define SDLOPTVAL_SDL2ACCEL "accel" +#define SDLOPTVAL_SDL2ACCEL "accel" #define SDLMAME_LED(x) "led" #x diff --git a/src/osd/sdl/sdlfile.c b/src/osd/sdl/sdlfile.c index a31ace78619..c2526d0021b 100644 --- a/src/osd/sdl/sdlfile.c +++ b/src/osd/sdl/sdlfile.c @@ -499,4 +499,4 @@ int osd_is_absolute_path(const char *path) return result; } -#endif
\ No newline at end of file +#endif diff --git a/src/osd/sdl/sdlptty_win32.c b/src/osd/sdl/sdlptty_win32.c index 190ca354055..42b10131c61 100644 --- a/src/osd/sdl/sdlptty_win32.c +++ b/src/osd/sdl/sdlptty_win32.c @@ -11,4 +11,3 @@ //============================================================ #include "../windows/winptty.c" - diff --git a/src/osd/sdl/sdlsocket.c b/src/osd/sdl/sdlsocket.c index 7d7370128b9..cc6682abcd1 100644 --- a/src/osd/sdl/sdlsocket.c +++ b/src/osd/sdl/sdlsocket.c @@ -192,4 +192,4 @@ file_error sdl_close_socket(osd_file *file) osd_free(file); return FILERR_NONE; } -#endif
\ No newline at end of file +#endif diff --git a/src/osd/sdl/sdlsync_win32.c b/src/osd/sdl/sdlsync_win32.c index 7c6464ec69e..72f729d6937 100644 --- a/src/osd/sdl/sdlsync_win32.c +++ b/src/osd/sdl/sdlsync_win32.c @@ -9,4 +9,4 @@ // //============================================================ -#include "../windows/winsync.c"
\ No newline at end of file +#include "../windows/winsync.c" diff --git a/src/osd/sdl/video.c b/src/osd/sdl/video.c index ccbe5013190..a5b130cd87f 100644 --- a/src/osd/sdl/video.c +++ b/src/osd/sdl/video.c @@ -134,7 +134,7 @@ bool sdl_osd_interface::video_init() void sdl_osd_interface::video_exit() { window_exit(); - + // free all of our monitor information while (sdl_monitor_list != NULL) { 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__ */ |
