mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-04-21 20:14:45 +00:00
Moved GetNumberModules to cpp
This commit is contained in:
parent
c74d653546
commit
32d5912d90
2 changed files with 7 additions and 4 deletions
|
@ -1,6 +1,8 @@
|
|||
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#include "common/alignment.h"
|
||||
#include "common/assert.h"
|
||||
#include "common/config.h"
|
||||
|
@ -418,4 +420,8 @@ void Linker::DebugDump() {
|
|||
}
|
||||
}
|
||||
|
||||
int Linker::GetNumberModules() const {
|
||||
return m_modules.size();
|
||||
}
|
||||
|
||||
} // namespace Core
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <algorithm>
|
||||
#include <mutex>
|
||||
#include <vector>
|
||||
#include "core/module.h"
|
||||
|
@ -79,9 +78,7 @@ public:
|
|||
return m_modules.at(index).get();
|
||||
}
|
||||
|
||||
int GetNumberModules() const {
|
||||
return m_modules.size();
|
||||
}
|
||||
int GetNumberModules() const;
|
||||
|
||||
void RelocateAnyImports(Module* m) {
|
||||
Relocate(m);
|
||||
|
|
Loading…
Add table
Reference in a new issue