]> git.sesse.net Git - pistorm/blobdiff - m68kdasm.c
Add Meson build files.
[pistorm] / m68kdasm.c
index fbbde31c0e60aee6669cbe9414058ff2530e9f70..68d025a5073929325c67d036632d3671324ab2a0 100644 (file)
@@ -404,7 +404,7 @@ static char* make_signed_hex_str_32(uint val)
 /* make string of immediate value */
 static char* get_imm_str_s(uint size)
 {
-       static char str[15];
+       static char str[25];
        if(size == 0)
                sprintf(str, "#%s", make_signed_hex_str_8(read_imm_8()));
        else if(size == 1)
@@ -416,7 +416,7 @@ static char* get_imm_str_s(uint size)
 
 static char* get_imm_str_u(uint size)
 {
-       static char str[15];
+       static char str[25];
        if(size == 0)
                sprintf(str, "#$%x", read_imm_8() & 0xff);
        else if(size == 1)
@@ -3773,7 +3773,7 @@ unsigned int m68k_disassemble(char* str_buff, unsigned int pc, unsigned int cpu_
 
 char* m68ki_disassemble_quick(unsigned int pc, unsigned int cpu_type)
 {
-       static char buff[100];
+       static char buff[1000];
        buff[0] = 0;
        m68k_disassemble(buff, pc, cpu_type);
        return buff;