Opens the Filter Log Files
| 2076 | |
| 2077 | // Opens the Filter Log Files |
| 2078 | void OpenFilterLogFiles(void) { |
| 2079 | char fullpath[_MAX_PATH + 1]; |
| 2080 | |
| 2081 | ddio_MakePath(fullpath, LocalD3Dir, "Remaining Pages.txt", NULL); |
| 2082 | remaining_log_file = cfopen(fullpath, "wt"); |
| 2083 | if (remaining_log_file == NULL) { |
| 2084 | mprintf(0, "Couldn't open \"Remaining Pages\" log file!\n"); |
| 2085 | return; |
| 2086 | } |
| 2087 | |
| 2088 | ddio_MakePath(fullpath, LocalD3Dir, "Removed Pages.txt", NULL); |
| 2089 | removed_log_file = cfopen(fullpath, "wt"); |
| 2090 | if (removed_log_file == NULL) { |
| 2091 | mprintf(0, "Couldn't open \"Removed Pages\" log file!\n"); |
| 2092 | return; |
| 2093 | } |
| 2094 | } |
| 2095 | |
| 2096 | // Returns the pagetype string for a given type |
| 2097 | void GetPageTypeString(int type, CString &type_text) { |
no test coverage detected