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