	include	macro.inc
	include	mdc5.inc

;fix reset vector
;inc $bfef が gnes だと ROM なのに中身が変わる
	org	$fffc
	adr	$c000
	
	org	$ce4d
	jmp	mdc5_function_mirror_mmc1
	fill	$ce60
	
	org	$ce71
	sta	<$45
	nopw	$ce74
	jmp	mdc5_function_cpubank_switch_8000_4000
	fill	$ce88
;	sta	mmc5_spritebank_1000_1000
;	sta	mmc5_bgbank_x000_1000
	rts
	fill	$ce9c
	rts
	fill	$ceaf
