Refactored out the horrible static var in CoreTiming

This commit is contained in:
Hamish Milne 2020-03-28 15:47:36 +00:00
parent 917d651a3c
commit 4aab38f133
6 changed files with 15 additions and 11 deletions

View file

@ -196,7 +196,7 @@ public:
}
protected:
std::unique_ptr<DelayGenerator> delay_generator; // TODO: Replace with virtual GetOpenDelayNs
std::unique_ptr<DelayGenerator> delay_generator;
private:
template <class Archive>

View file

@ -68,8 +68,8 @@ protected:
Service::FS::MediaType media_type;
private:
NCCHArchive() = default; // NOTE: If the public ctor has behaviour, need to replace this with
// *_construct_data
NCCHArchive() = default;
template <class Archive>
void serialize(Archive& ar, const unsigned int) {
ar& boost::serialization::base_object<ArchiveBackend>(*this);