archive_sdmc.h 736 B

12345678910111213141516171819202122232425262728293031
  1. // Copyright 2014 Citra Emulator Project
  2. // Licensed under GPLv2
  3. // Refer to the license.txt file included.
  4. #pragma once
  5. #include "common/common_types.h"
  6. #include "core/file_sys/disk_archive.h"
  7. #include "core/loader/loader.h"
  8. ////////////////////////////////////////////////////////////////////////////////////////////////////
  9. // FileSys namespace
  10. namespace FileSys {
  11. /// File system interface to the SDMC archive
  12. class Archive_SDMC final : public DiskArchive {
  13. public:
  14. Archive_SDMC(const std::string& mount_point);
  15. /**
  16. * Initialize the archive.
  17. * @return true if it initialized successfully
  18. */
  19. bool Initialize();
  20. std::string GetName() const override { return "SDMC"; }
  21. };
  22. } // namespace FileSys