*\r
* You should have received a copy of the GNU General Public License\r
* along with this program; if not, write to the Free Software\r
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\r
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\r
+ *\r
* (VRC4 mapper)\r
+ *\r
*/\r
\r
#include "mapinc.h"\r
\r
-static uint8 IRQCount;\r
+static uint8 IRQCount;//, IRQPre;\r
static uint8 IRQa;\r
static uint8 prg_reg[2];\r
static uint8 chr_reg[8];\r
\r
static void Sync(void)\r
{\r
- int i;\r
setprg8(0x8000,prg_reg[0]);\r
setprg8(0xA000,prg_reg[1]);\r
+ int i;\r
for(i=0; i<8; i++)\r
- setchr1(i<<10,chr_reg[i]);\r
- setmirror(mirr^1);\r
+ setchr1(i<<10,chr_reg[i]); \r
+ setmirror(mirr^1); \r
}\r
\r
static DECLFW(M222Write)\r