Core: Cleanup disasm buffer usage.

This commit is contained in:
Unknown W. Brackets committed 2023-04-29 09:07:25 -07:00
1 parent 91be4cfeb6
commit 46101581c0
20 files changed
+300 -380

No files matched your search

+2 -1
View File
@@ -766,7 +766,8 @@ bool DisassemblyOpcode::disassemble(u32 address, DisassemblyLineInfo &dest, bool
cpuDebug = DisassemblyManager::getCpu();
char opcode[64],arguments[256];
const char *dizz = cpuDebug->disasm(address, 4);
char dizz[512];
cpuDebug->DisAsm(address, dizz, sizeof(dizz));
parseDisasm(dizz,opcode,arguments,insertSymbols);
dest.type = DISTYPE_OPCODE;
dest.name = opcode;