Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5e6429a
commit 8ae157e
Showing
3 changed files
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,6 +29,7 @@ | |
#endif | ||
|
||
#include <algorithm> | ||
#include <memory> | ||
|
||
#include "util/text/utf8.h" | ||
#include "zlib.h" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
#endif | ||
#include <cstdarg> | ||
#include <cstring> | ||
#include <memory> | ||
#include <vector> | ||
|
||
#include "Common/CommonTypes.h" | ||
|
@@ -66,7 +67,6 @@ class PspAssemblerFile: public AssemblerFile | |
|
||
bool MipsAssembleOpcode(const char* line, DebugInterface* cpu, u32 address) | ||
{ | ||
PspAssemblerFile file; | ||
StringList errors; | ||
|
||
wchar_t str[64]; | ||
|
@@ -76,7 +76,7 @@ bool MipsAssembleOpcode(const char* line, DebugInterface* cpu, u32 address) | |
args.mode = ArmipsMode::MEMORY; | ||
args.content = str + ConvertUTF8ToWString(line); | ||
args.silent = true; | ||
args.memoryFile = &file; | ||
args.memoryFile.reset(new PspAssemblerFile()); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
unknownbrackets
Author
Collaborator
|
||
args.errorsResult = &errors; | ||
|
||
if (g_symbolMap) { | ||
|
Submodule armips
updated
52 files
Builds and runs with just:
args.memoryFile = new PspAssemblerFile();
but I imagine you're really wanting to call on some memset type method to clear it before use? Sorry I couldn't find it.