summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/windows/window.cpp
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-10-22 13:13:17 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2016-10-22 13:13:17 +0200
commitddb290d5f615019c33c42b8d94e5a5254cabcf33 (patch)
treea70f688b0df3acd19da7b1151e5902e3c6af3fa5 /src/osd/windows/window.cpp
parent333bff8de64dfaeb98134000412796b4fdef970b (diff)
NOTICE (TYPE NAME CONSOLIDATION)
Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8 also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
Diffstat (limited to 'src/osd/windows/window.cpp')
-rw-r--r--src/osd/windows/window.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/osd/windows/window.cpp b/src/osd/windows/window.cpp
index 370d7b7087d..c9c55f138da 100644
--- a/src/osd/windows/window.cpp
+++ b/src/osd/windows/window.cpp
@@ -241,7 +241,7 @@ void windows_osd_interface::build_slider_list()
}
}
-void windows_osd_interface::add_audio_to_recording(const INT16 *buffer, int samples_this_frame)
+void windows_osd_interface::add_audio_to_recording(const int16_t *buffer, int samples_this_frame)
{
auto window = osd_common_t::s_window_list.front(); // We only record on the first window
if (window != nullptr)
@@ -1272,7 +1272,7 @@ LRESULT CALLBACK win_window_info::video_window_proc(HWND wnd, UINT message, WPAR
// syscommands: catch win_start_maximized
case WM_SYSCOMMAND:
{
- UINT16 cmd = wparam & 0xfff0;
+ uint16_t cmd = wparam & 0xfff0;
// prevent screensaver or monitor power events
if (cmd == SC_MONITORPOWER || cmd == SC_SCREENSAVE)
@@ -1408,13 +1408,13 @@ osd_rect win_window_info::constrain_to_aspect_ratio(const osd_rect &rect, int ad
{
assert(GetCurrentThreadId() == window_threadid);
- INT32 extrawidth = wnd_extra_width();
- INT32 extraheight = wnd_extra_height();
- INT32 propwidth, propheight;
- INT32 minwidth, minheight;
- INT32 maxwidth, maxheight;
- INT32 viswidth, visheight;
- INT32 adjwidth, adjheight;
+ int32_t extrawidth = wnd_extra_width();
+ int32_t extraheight = wnd_extra_height();
+ int32_t propwidth, propheight;
+ int32_t minwidth, minheight;
+ int32_t maxwidth, maxheight;
+ int32_t viswidth, visheight;
+ int32_t adjwidth, adjheight;
float pixel_aspect;
auto monitor = monitor_from_rect(&rect);
@@ -1531,7 +1531,7 @@ osd_rect win_window_info::constrain_to_aspect_ratio(const osd_rect &rect, int ad
osd_dim win_window_info::get_min_bounds(int constrain)
{
- INT32 minwidth, minheight;
+ int32_t minwidth, minheight;
//assert(GetCurrentThreadId() == window_threadid);