2021-12-03 15:40:19 -06:00
|
|
|
// Copyright 2021 Dolphin Emulator Project
|
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <iostream>
|
|
|
|
#include <string>
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
#include "DiscIO/Volume.h"
|
|
|
|
#include "DiscIO/VolumeDisc.h"
|
|
|
|
#include "DiscIO/VolumeVerifier.h"
|
|
|
|
#include "DolphinTool/Command.h"
|
|
|
|
|
|
|
|
namespace DolphinTool
|
|
|
|
{
|
|
|
|
class VerifyCommand final : public Command
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
int Main(const std::vector<std::string>& args) override;
|
|
|
|
|
|
|
|
private:
|
2023-06-14 15:14:03 -05:00
|
|
|
void PrintFullReport(const DiscIO::VolumeVerifier::Result& result);
|
2021-12-03 15:40:19 -06:00
|
|
|
|
|
|
|
std::string HashToHexString(const std::vector<u8>& hash);
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace DolphinTool
|