mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 13:49:53 -06:00
GCMemcardUtils: Make use of std::span where applicable
Generifies bits of the interface so that some functions aren't explicitly tied down to only using std::vector.
This commit is contained in:
@ -502,7 +502,7 @@ void GCMemcardManager::ExportFiles(Memcard::SavefileFormat format)
|
||||
}
|
||||
}
|
||||
|
||||
void GCMemcardManager::ImportFiles(Slot slot, const std::vector<Memcard::Savefile>& savefiles)
|
||||
void GCMemcardManager::ImportFiles(Slot slot, std::span<const Memcard::Savefile> savefiles)
|
||||
{
|
||||
auto& card = m_slot_memcard[slot];
|
||||
if (!card)
|
||||
|
Reference in New Issue
Block a user