mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 16:49:58 -06:00
Small clean up to InfoWindow and fix for Summarize_Drives()
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3299 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -109,15 +109,17 @@ std::string Summarize_CPU()
|
||||
std::string Summarize_Drives()
|
||||
{
|
||||
char ** drives = cdio_get_devices();
|
||||
std::string drive;
|
||||
for (int i = 0; drives[i] != NULL && i < 24; i++)
|
||||
{
|
||||
|
||||
return StringFromFormat(
|
||||
"CD/DVD Drive%d: %s",
|
||||
i+1,
|
||||
drives[i]
|
||||
);
|
||||
drive += StringFromFormat(
|
||||
"CD/DVD Drive%d: %s\n",
|
||||
i+1,
|
||||
drives[i]
|
||||
);
|
||||
}
|
||||
return drive;
|
||||
}
|
||||
|
||||
#endif //__SUMMARIZE_H__
|
Reference in New Issue
Block a user