mirror of
https://github.com/brouhaha/dis6502.git
synced 2024-11-27 07:50:58 +00:00
Fix command line -e option.
This commit is contained in:
parent
9962af1740
commit
9a4a59f0cf
6
main.c
6
main.c
@ -616,11 +616,9 @@ void binaryloadfile (void)
|
||||
|
||||
if (entry_count)
|
||||
{
|
||||
int i;
|
||||
char *label;
|
||||
label = malloc(7);
|
||||
for (i = 0; i < entry_count; i++)
|
||||
for (int i = 0; i < entry_count; i++)
|
||||
{
|
||||
char *label = malloc(7);
|
||||
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