mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-11 18:50:30 +00:00
msvc: enable /Zc:preprocessor and make build compile cleanly
This commit is contained in:
parent
4db06bf85b
commit
969ea6e4f5
6 changed files with 13 additions and 57 deletions
|
@ -20,11 +20,7 @@ constexpr u32 MAX_XFB_WIDTH = 720;
|
|||
// that are next to each other in memory (TODO: handle that situation).
|
||||
constexpr u32 MAX_XFB_HEIGHT = 576;
|
||||
|
||||
#if defined(_WIN32) && (!defined(_MSVC_TRADITIONAL) || _MSVC_TRADITIONAL == 1)
|
||||
#define PRIM_LOG(...) DEBUG_LOG(VIDEO, __VA_ARGS__)
|
||||
#else
|
||||
#define PRIM_LOG(...) DEBUG_LOG(VIDEO, ##__VA_ARGS__)
|
||||
#endif
|
||||
|
||||
// warning: mapping buffer should be disabled to use this
|
||||
// #define LOG_VTX() DEBUG_LOG(VIDEO, "vtx: %f %f %f, ", ((float*)g_vertex_manager_write_ptr)[-3],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue