Lines Matching refs:hex_buf
878 char hex_buf[80];
896 memset(hex_buf, 0, 80);
903 hex_buf[num_hex++] = '-';
904 hex_buf[num_hex++] = ' ';
911 hex_buf[num_hex++] = xlate[((*ptr & 0xf0) >> 4)];
912 hex_buf[num_hex++] = xlate[*ptr & 0x0f];
913 hex_buf[num_hex++] = ' ';
918 nes_debug(dump_debug_level, " %s | %s\n", hex_buf, ascii_buf);
920 memset(hex_buf, 0, 80);
930 hex_buf[num_hex++] = ' ';
931 hex_buf[num_hex++] = ' ';
933 hex_buf[num_hex++] = ' ';
934 hex_buf[num_hex++] = ' ';
935 hex_buf[num_hex++] = ' ';
939 nes_debug(dump_debug_level, " %s | %s\n", hex_buf, ascii_buf);