From d19d04164080ac2cb79d475c22656971ed3102ff Mon Sep 17 00:00:00 2001 From: Henrik Rydgard Date: Wed, 15 Jan 2014 16:58:28 +0100 Subject: [PATCH] GPU disasm: Show opcodes. Also disable some warnings and update submodules. --- GPU/GPU.vcxproj | 6 ++++-- GPU/GeDisasm.cpp | 1 + ext/zlib/zlib.vcxproj | 8 ++++---- lang | 2 +- native | 2 +- 5 files changed, 11 insertions(+), 8 deletions(-) diff --git a/GPU/GPU.vcxproj b/GPU/GPU.vcxproj index a961adbe4a..3089b1be89 100644 --- a/GPU/GPU.vcxproj +++ b/GPU/GPU.vcxproj @@ -84,7 +84,7 @@ Level3 Disabled ../common;..;../native;../native/ext/glew; - _MBCS;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS + _CRT_SECURE_NO_WARNINGS;_UNICODE;UNICODE;%(PreprocessorDefinitions) StreamingSIMDExtensions2 Fast true @@ -106,6 +106,7 @@ true false false + _CRT_SECURE_NO_WARNINGS;_UNICODE;UNICODE;%(PreprocessorDefinitions) true @@ -121,7 +122,7 @@ false StreamingSIMDExtensions2 Fast - _MBCS;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS + _CRT_SECURE_NO_WARNINGS;_UNICODE;UNICODE;%(PreprocessorDefinitions) Speed true false @@ -146,6 +147,7 @@ false true false + _CRT_SECURE_NO_WARNINGS;_UNICODE;UNICODE;%(PreprocessorDefinitions) true diff --git a/GPU/GeDisasm.cpp b/GPU/GeDisasm.cpp index cafb50b6f8..58fb19657a 100644 --- a/GPU/GeDisasm.cpp +++ b/GPU/GeDisasm.cpp @@ -85,6 +85,7 @@ void GeDisassembleOp(u32 pc, u32 op, u32 prev, char *buffer) { u32 cmd = op >> 24; u32 data = op & 0xFFFFFF; + buffer += sprintf(buffer, "%08x: ", op); // Handle control and drawing commands here directly. The others we delegate. switch (cmd) { diff --git a/ext/zlib/zlib.vcxproj b/ext/zlib/zlib.vcxproj index e3499d2ec0..5cc8abd6d1 100644 --- a/ext/zlib/zlib.vcxproj +++ b/ext/zlib/zlib.vcxproj @@ -99,7 +99,7 @@ Level3 Disabled - WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS + _CRT_SECURE_NO_WARNINGS;WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS AnySuitable true Speed @@ -122,7 +122,7 @@ Level3 MaxSpeed - WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions) + _CRT_SECURE_NO_WARNINGS;WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions) AnySuitable true Speed @@ -147,7 +147,7 @@ MaxSpeed true true - WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_DEPRECATE + _CRT_SECURE_NO_WARNINGS;WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_DEPRECATE StreamingSIMDExtensions2 false Fast @@ -171,7 +171,7 @@ MaxSpeed true true - WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions) + _CRT_SECURE_NO_WARNINGS;NDEBUG;_LIB;%(PreprocessorDefinitions) false AnySuitable Speed diff --git a/lang b/lang index dbc1d95219..47b6e77310 160000 --- a/lang +++ b/lang @@ -1 +1 @@ -Subproject commit dbc1d95219486ca6f683f2b2032c437fe213464e +Subproject commit 47b6e7731030458ae1c9228f5ce41662f499cd7e diff --git a/native b/native index 1d1ee54982..ddbb357bee 160000 --- a/native +++ b/native @@ -1 +1 @@ -Subproject commit 1d1ee549824d0e9ad05a27d95ef2e0043a0c5c60 +Subproject commit ddbb357beeec9951eb0b0cec7256c5af5fb186bb