Fix CLI args

This commit is contained in:
SimoneN64
2024-08-16 00:13:49 +02:00
parent 74a45787b9
commit 38859deaf1
7 changed files with 14 additions and 16 deletions

View File

@@ -12,7 +12,7 @@ void Core::Stop() {
cpu->Reset();
}
bool Core::LoadTAS(const fs::path &path) {
bool Core::LoadTAS(const fs::path &path) const {
return cpu->GetMem().mmio.si.pif.movie.Load(path);
}

View File

@@ -10,7 +10,7 @@ struct Core {
Core(ParallelRDP&);
void Stop();
void LoadROM(const std::string&);
bool LoadTAS(const fs::path&);
bool LoadTAS(const fs::path&) const;
void Run(float volumeL, float volumeR);
void Serialize();
void Deserialize();

View File

@@ -52,8 +52,6 @@ struct MupenMovie {
n64::Controller NextInputs();
bool IsLoaded() const { return !loadedTasMovie.empty(); }
private:
std::string filename = "";
std::string game = "";
std::vector<u8> loadedTasMovie = {};
TASMovieHeader loadedTasMovieHeader = {};
uint32_t loadedTasMovieIndex = 0;