add format() function
This commit is contained in:
parent
1049c8e383
commit
464e5bf6dd
4 changed files with 16 additions and 2 deletions
|
|
@ -92,7 +92,10 @@ int main(int argc, char *argv[])
|
|||
return -1;
|
||||
}
|
||||
|
||||
std::cout << "Photo successfully exported" << std::endl;
|
||||
if (ragePhoto.format() == RagePhoto::PhotoFormat::GTA5)
|
||||
std::cout << "GTA V Photo successfully exported" << std::endl;
|
||||
else
|
||||
std::cout << "RDR 2 Photo successfully exported" << std::endl;
|
||||
|
||||
// Clear RagePhoto (provocate crash when pointer leak)
|
||||
ragePhoto.clear();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue