mirror of
https://github.com/brouhaha/dis6502.git
synced 2024-06-08 04:29:49 +00:00
Fix command line -e option.
This commit is contained in:
parent
8bbf37d17d
commit
0e9139e700
5
main.c
5
main.c
|
@ -604,10 +604,11 @@ void binaryloadfile (void)
|
|||
if (entry_count)
|
||||
{
|
||||
int i;
|
||||
char label [8];
|
||||
char *label;
|
||||
label = malloc(7);
|
||||
for (i = 0; i < entry_count; i++)
|
||||
{
|
||||
snprintf (label, sizeof (label), "e_%04x", entry_address[i]);
|
||||
sprintf (label, "e_%04x", entry_address[i]);
|
||||
printf("label: %s\n", label);
|
||||
start_trace (entry_address[i], label);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user