Skip to content

Commit

Permalink
Enable actively selecting 65C02 as CPU type
Browse files Browse the repository at this point in the history
As the 65C816 may become the default in the future, the cpu option now checks for both
c816 and c02 to ensure that it can be selected correctly and not just rely on the default CPU.
  • Loading branch information
JimmyDansbo committed Oct 11, 2024
1 parent 119b557 commit ae8bdc6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions webassembly/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ if (ram_val) {
if (cpu_val) {
if (cpu_val == 'c816') {
emuArguments.push('-c816');
} elseif (cpu_val == 'c02') {
emuArguments.push('-c02');
}
}
if (mhz_val) {
Expand Down

0 comments on commit ae8bdc6

Please sign in to comment.