Adding --show_profiler to show profiler by default, changing hotkey to F3.

This commit is contained in:
Ben Vanik
2015-07-25 12:34:15 -07:00
parent 8ce6765233
commit ea4ec28acc
4 changed files with 18 additions and 8 deletions

View File

@@ -619,9 +619,9 @@ dword_result_t NtQueryDirectoryFile(
file_name ? file_name->to_string(kernel_memory()->virtual_membase()) : "";
if (file) {
X_FILE_DIRECTORY_INFORMATION dir_info = {0};
result = file->QueryDirectory(
file_info_ptr, length, !name.empty() ? name.c_str() : nullptr,
restart_scan != 0);
result = file->QueryDirectory(file_info_ptr, length,
!name.empty() ? name.c_str() : nullptr,
restart_scan != 0);
if (XSUCCEEDED(result)) {
info = length;
}