Skip to content

Commit

Permalink
Issue #132: Fix selection of individual CPUs while configuring.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeakohn committed Oct 8, 2024
1 parent dcd216d commit c13aa1a
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 59 deletions.
2 changes: 1 addition & 1 deletion common/UtilContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ void util_init(UtilContext *util_context)
util_context->alignment = 1;
#else
util_context->disasm_range = cpu_list[0].disasm_range;
util_context->simulate = SimulateNull:init(&util_context->memory);
util_context->simulate = SimulateNull::init(&util_context->memory);
util_context->flags = cpu_list[0].flags;
util_context->bytes_per_address = cpu_list[0].bytes_per_address;
util_context->alignment = cpu_list[0].alignment;
Expand Down
2 changes: 1 addition & 1 deletion common/assembler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ void AsmContext::init()
list_output = list_output_msp430;
cpu_list_index = -1;
#else
set_cpu(this, 0);
set_cpu(0);
#endif
address = 0;
instruction_count = 0;
Expand Down
Loading

0 comments on commit c13aa1a

Please sign in to comment.