mirror of
https://github.com/Ryuzaki-MrL/savemii.git
synced 2026-03-25 11:44:06 -05:00
22 lines
445 B
C++
22 lines
445 B
C++
#pragma once
|
|
|
|
#include <jansson.h>
|
|
#include <string.hpp>
|
|
|
|
class Date {
|
|
public:
|
|
Date(uint32_t high, uint32_t low, uint8_t s) {
|
|
highID = high;
|
|
lowID = low;
|
|
slot = s;
|
|
path = stringFormat("sd:/wiiu/backups/%08x%08x/%u/savemiiMeta.json", highID, lowID, slot);
|
|
}
|
|
std::string get();
|
|
bool set(std::string date);
|
|
|
|
private:
|
|
uint32_t highID;
|
|
uint32_t lowID;
|
|
uint8_t slot;
|
|
std::string path;
|
|
}; |