Show number of search results when searching

This commit is contained in:
d0k3 2016-07-25 01:09:17 +02:00
parent a06e6619cd
commit 6c4eba22b3

View File

@ -569,6 +569,7 @@ u32 GodMode() {
SetFSSearch(searchstr, curr_entry->path); SetFSSearch(searchstr, curr_entry->path);
snprintf(current_path, 256, "Z:"); snprintf(current_path, 256, "Z:");
GetDirContents(current_dir, current_path); GetDirContents(current_dir, current_path);
if (current_dir->n_entries) ShowPrompt(false, "Found %lu results.", current_dir->n_entries - 1);
cursor = 1; cursor = 1;
scroll = 0; scroll = 0;
} }