Skip to content

Commit

Permalink
kchamp: dual joystick disabled for Pocket as extra DIP definitions ar…
Browse files Browse the repository at this point in the history
…e not supported by the framework
  • Loading branch information
jotego committed Mar 29, 2024
1 parent 018873b commit 90fd97e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cores/kchamp/cfg/mame2mra.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ sourcefile=[ "kchamp.cpp" ]
Names = [ { names="left(2),right(2),up(2),bottom(2)"} ]

[dipsw]
delete=[{names=["Unused","Unknown"]}]
delete=[{names=["Unused","Unknown","Coin A","Coin B"]}]
extra=[
{ name="Link joysticks", options="Off,On", bits="8" },
]
Expand Down
2 changes: 1 addition & 1 deletion cores/kchamp/hdl/jtkchamp_game.v
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ wire [ 7:0] pre_data;

assign flip = ~dip_flip ^ ~main_flip;
assign debug_view = {3'd0, enc, 2'd0, link_joys, flip};
assign link_joys = dipsw[8];
assign link_joys = `ifdef POCKET 1'b0 `else dipsw[8] `endif ;

wire is_obj = prog_ba==3 && ioctl_addr[21:0]<PROM_START[21:0];

Expand Down

0 comments on commit 90fd97e

Please sign in to comment.