Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #12097 from Dentomologist/ios_remove_unused_member…
…_variables

IOS: Remove unused member variable from SharedContentMap and UIDSys
  • Loading branch information
AdmiralCurtiss committed Aug 26, 2023
2 parents 2502e41 + 9ef79dd commit 799ce0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Source/Core/Core/IOS/ES/Formats.cpp
Expand Up @@ -554,7 +554,7 @@ struct SharedContentMap::Entry
};

constexpr char CONTENT_MAP_PATH[] = "/shared1/content.map";
SharedContentMap::SharedContentMap(HLE::FSCore& fs_core) : m_fs_core{fs_core}, m_fs{fs_core.GetFS()}
SharedContentMap::SharedContentMap(HLE::FSCore& fs_core) : m_fs{fs_core.GetFS()}
{
static_assert(sizeof(Entry) == 28, "SharedContentMap::Entry has the wrong size");

Expand Down Expand Up @@ -650,7 +650,7 @@ static std::pair<u32, u64> ReadUidSysEntry(HLE::FSCore& fs, u64 fd, u64* ticks)
}

constexpr char UID_MAP_PATH[] = "/sys/uid.sys";
UIDSys::UIDSys(HLE::FSCore& fs_core) : m_fs_core{fs_core}, m_fs{fs_core.GetFS()}
UIDSys::UIDSys(HLE::FSCore& fs_core) : m_fs{fs_core.GetFS()}
{
if (const auto fd =
fs_core.Open(PID_KERNEL, PID_KERNEL, UID_MAP_PATH, HLE::FS::Mode::Read, {}, &m_ticks);
Expand Down
2 changes: 0 additions & 2 deletions Source/Core/Core/IOS/ES/Formats.h
Expand Up @@ -296,7 +296,6 @@ class SharedContentMap final
struct Entry;
u32 m_last_id = 0;
std::vector<Entry> m_entries;
HLE::FSCore& m_fs_core;
std::shared_ptr<HLE::FS::FileSystem> m_fs;
u64 m_ticks = 0;
};
Expand All @@ -313,7 +312,6 @@ class UIDSys final
u64 GetTicks() const { return m_ticks; }

private:
HLE::FSCore& m_fs_core;
std::shared_ptr<HLE::FS::FileSystem> m_fs;
std::map<u32, u64> m_entries;
u64 m_ticks = 0;
Expand Down

0 comments on commit 799ce0d

Please sign in to comment.