merge mappers from FCEU-mm
[fceu.git] / boards / ax5705.c
index 66f1498..823381a 100644 (file)
@@ -15,7 +15,7 @@
  *\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
  * Super Bros. Pocker Mali (VRC4 mapper)\r
  */\r
@@ -54,11 +54,11 @@ static void UNLAX5705IRQ(void)
 \r
 static void Sync(void)\r
 {\r
-  int i;\r
   setprg8(0x8000,prg_reg[0]);\r
   setprg8(0xA000,prg_reg[1]);\r
   setprg8(0xC000,~1);\r
   setprg8(0xE000,~0);\r
+  int i;\r
   for(i=0; i<8; i++)\r
      setchr1(i<<10,chr_reg[i]);     \r
   setmirror(mirr^1);   \r