add custom load functions, move private data to struct

This commit is contained in:
Syping 2021-10-28 03:28:36 +02:00
parent 1d48cd0fbd
commit 136520372d
6 changed files with 313 additions and 267 deletions

View file

@ -61,7 +61,7 @@ int main(int argc, char *argv[])
ofs << ragePhoto.photo();
ofs.close();
if (ragePhoto.format() == RagePhoto::PhotoFormat::GTA5)
if (ragePhoto.format() == RagePhoto::GTA5)
std::cout << "GTA V Photo successfully exported" << std::endl;
else
std::cout << "RDR 2 Photo successfully exported" << std::endl;