Allow better hwdetect debugging
This was SVN commit r10491.
This commit is contained in:
parent
7b12132650
commit
8fba3f92b1
@ -260,11 +260,11 @@ function RunDetection(settings)
|
||||
|
||||
global.RunHardwareDetection = function(settings)
|
||||
{
|
||||
//print(uneval(settings)+"\n");
|
||||
//print(JSON.stringify(settings, null, 1).length+"\n");
|
||||
|
||||
var output = RunDetection(settings);
|
||||
|
||||
//print(uneval(output)+"\n");
|
||||
//print(JSON.stringify(output, null, 1)+"\n");
|
||||
|
||||
for (var i = 0; i < output.warnings.length; ++i)
|
||||
warn(output.warnings[i]);
|
||||
|
@ -141,8 +141,8 @@ bool debug_filter_allows(const wchar_t* text)
|
||||
#undef debug_printf // allowing #defining it out
|
||||
void debug_printf(const wchar_t* fmt, ...)
|
||||
{
|
||||
wchar_t buf[4096];
|
||||
|
||||
wchar_t buf[16384];
|
||||
|
||||
va_list ap;
|
||||
va_start(ap, fmt);
|
||||
const int numChars = vswprintf_s(buf, ARRAY_SIZE(buf), fmt, ap);
|
||||
|
Loading…
Reference in New Issue
Block a user