mirror of
				https://git.suyu.dev/suyu/suyu
				synced 2025-10-31 16:09:03 -05:00 
			
		
		
		
	Merge pull request #2708 from DarkLordZach/mii-db-source-crash
mii: Handle logging of unknown database source
This commit is contained in:
		| @@ -175,6 +175,10 @@ MiiStoreData ConvertInfoToStoreData(const MiiInfo& info) { | ||||
| } // namespace | ||||
|  | ||||
| std::ostream& operator<<(std::ostream& os, Source source) { | ||||
|     if (static_cast<std::size_t>(source) >= SOURCE_NAMES.size()) { | ||||
|         return os << "[UNKNOWN SOURCE]"; | ||||
|     } | ||||
|  | ||||
|     os << SOURCE_NAMES.at(static_cast<std::size_t>(source)); | ||||
|     return os; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 David
					David