summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/monitor/monitor_sdl.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Make osd_printf_* use util/strformat semantics. Vas Crabb2019-09-261-2/+3
| | | | | | | | | | | | | | | | | (nw) This has been a long time coming but it's here at last. It should be easier now that logerror, popmessage and osd_printf_* behave like string_format and stream_format. Remember the differences from printf: * Any object with a stream out operator works with %s * %d, %i, %o, %x, %X, etc. work out the size by magic * No sign extending promotion to int for short/char * No widening/narrowing conversions for characters/strings * Same rules on all platforms, insulated from C runtime library * No format warnings from compiler * Assert in debug builds if number of arguments doesn't match format (nw) Also removed a pile of redundant c_str and string_format, and some workarounds for not being able to portably format 64-bit integers or long long.
* Remove emu.h from headers (nw) Olivier Galibert2017-02-111-0/+1
| | | | | | | | | | | | Per Vas' request. If the compile fails for you (i'm thinking osx and windows native debuggers here in particular), add '#include "emu.h"' as first include of the cpp files that fail. Due to our use of precompilation and forced inclusion, emu.h must be included as the very first non-comment thing we do if we want to be sure msvc compiles are identical to gcc/clang ones. Doing it directly instead of through an include increases the correctness probability by a magnitude.
* Change window handle storage to template instead of void* (nw) (#1725) Brad Hughes2016-11-171-1/+2
| | | | * Change window handle storage to template instead of void* (nw)
* srcclean (nw) Vas Crabb2016-09-261-2/+2
|
* Convert OSD monitor info to modules plus add DXGI implementation Brad Hughes2016-09-141-0/+161