
audio {
	alsa_device internal
	alsa_device_cobalt hw:1,0
	alsa_device_hdmi hw:0,1
	buffer 256
	fm_dac zero_offset
	gain 6
	lowpass_cutoff 3390
	rate 48000
}
bindings {
	keys {
		a gamepads.1.a
		b gamepads.1.b
		c gamepads.1.lt
		down gamepads.1.down
		end ui.exit
		enter gamepads.1.start
		l gamepads.1.z
		left gamepads.1.left
		r gamepads.1.c
		right gamepads.1.right
		rotate_display ui.toggle_tate
		rshift gamepads.1.mode
		up gamepads.1.up
		x gamepads.1.x
		y gamepads.1.y
		z gamepads.1.rt
	}
	mice {
		0 {
			buttons {
				1 mouse.1.left
				2 mouse.1.middle
				3 mouse.1.right
				4 mouse.1.start
			}
			motion mouse.1.motion
		}
		1 {
			buttons {
				1 mouse.1.left
				2 mouse.1.middle
				3 mouse.1.right
				4 mouse.1.start
			}
			motion mouse.1.motion
		}
	}
	pads {
		default {
			axes {
				lefttrigger gamepads.n.lt
				leftx.negative gamepads.n.left
				leftx.positive gamepads.n.right
				lefty.negative gamepads.n.up
				lefty.positive gamepads.n.down
				righttrigger gamepads.n.rt
			}
			buttons {
				a gamepads.n.a
				b gamepads.n.b
				back gamepads.n.mode
				guide ui.exit
				leftshoulder gamepads.n.z
				rightshoulder gamepads.n.c
				start gamepads.n.start
				x gamepads.n.x
				y gamepads.n.y
			}
			dpads {
				0 {
					down gamepads.n.down
					left gamepads.n.left
					right gamepads.n.right
					up gamepads.n.up
				}
			}
		}
	}
}
clocks {
	m68k_divider 7
	max_cycles 27360
	speeds {
		0 100
		1 150
		2 200
		3 300
		4 400
		5 25
		6 50
		7 75
	}
}
io {
	devices {
		1 gamepad6.1
		2 gamepad6.2
	}
}
last_save_slot {
	captcomm 1
	forgottna 2
}
system {
	default_region U
	display_sync_threshold 5.5
	megawifi off
	ram_init zero
	sync_source audio
}
ui {
	default_language en
	extensions bin gen md smd sms gg zip gz
	initial_path $HOME
	remember_path on
	rom menu.bin
	save_path $USERDATA/$ROMNAME
	screenshot_path $HOME
	screenshot_template blastem_%Y%m%d_%H%M%S.png
	state_format native
}
video {
	aspect 4:3
	backdrop off
	backdrop_tate off
	fragment_shader default.f.glsl
	fullscreen off
	gl on
	integer_scaling off
	ntsc {
		overscan {
			bottom 0
			left 0
			right 0
			top 0
		}
	}
	orig_aspect 1.333333:1
	pal {
		overscan {
			bottom 0
			left 0
			right 0
			top 0
		}
	}
	scaling linear
	scanlines off
	vertex_shader default.v.glsl
	vsync off
	width 640
}