Skip to content

Commit

Permalink
Validate emulator type
Browse files Browse the repository at this point in the history
  • Loading branch information
grahambates committed Jun 20, 2024
1 parent 2d34437 commit 0439556
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/emulator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ export abstract class Emulator {
return new FsUAE();
case "winuae":
return new WinUAE();
default:
throw new Error("Unsupported emulator type " + type);
}
}

Expand Down

0 comments on commit 0439556

Please sign in to comment.