mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-02 18:53:58 +01:00
Replace assembler with a submodule
This commit is contained in:
1 parent
473f388088
commit
f6cedcbff5
14 files changed
+123
-1395
No files matched your search
@@ -944,6 +944,17 @@ DataType SymbolMap::GetDataType(u32 startAddress) const {
|
||||
|
||||
#if defined(_WIN32)
|
||||
|
||||
void SymbolMap::getLabels(std::vector<LabelDefinition>& dest) const
|
||||
{
|
||||
lock_guard guard(lock_);
|
||||
for (auto it = activeLabels.begin(); it != activeLabels.end(); it++) {
|
||||
LabelDefinition entry;
|
||||
entry.value = it->first;
|
||||
entry.name = ConvertUTF8ToWString(it->second.name);
|
||||
dest.push_back(entry);
|
||||
}
|
||||
}
|
||||
|
||||
struct DefaultSymbol {
|
||||
u32 address;
|
||||
const char* name;
|
||||
|
||||
@@ -26,6 +26,10 @@
|
||||
|
||||
#include "Common/CommonTypes.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
#include "ext/armips/Core/Assembler.h"
|
||||
#endif
|
||||
|
||||
enum SymbolType {
|
||||
ST_NONE = 0,
|
||||
ST_FUNCTION = 1,
|
||||
@@ -81,6 +85,7 @@ public:
|
||||
|
||||
#ifdef _WIN32
|
||||
void FillSymbolListBox(HWND listbox, SymbolType symType) const;
|
||||
void getLabels(std::vector<LabelDefinition>& dest) const;
|
||||
#endif
|
||||
|
||||
void AddModule(const char *name, u32 address, u32 size);
|
||||
|
||||
Reference in new issue
Block a user