X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=fceu.git;a=blobdiff_plain;f=boards%2F117.c;h=61d95197a9910e8923be6bdba2d991540e24ac62;hp=b2348f0ac1b1ef21e13e6825128971572ffc30bc;hb=43725da7349c85fa13e828fdbf20cc7ac8d298d6;hpb=386f5371eb984fb9c2860c83e740890a75cd45c1 diff --git a/boards/117.c b/boards/117.c index b2348f0..61d9519 100644 --- a/boards/117.c +++ b/boards/117.c @@ -15,7 +15,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include "mapinc.h" @@ -28,19 +28,19 @@ static SFORMAT StateRegs[]= {&IRQa, 1, "IRQA"}, {&IRQCount, 1, "IRQC"}, {&IRQLatch, 1, "IRQL"}, - {prgreg, 4, "PREGS"}, - {chrreg, 8, "CREGS"}, + {prgreg, 4, "PREG"}, + {chrreg, 8, "CREG"}, {&mirror, 1, "MREG"}, {0} }; static void Sync(void) { - int i; setprg8(0x8000,prgreg[0]); setprg8(0xa000,prgreg[1]); setprg8(0xc000,prgreg[2]); setprg8(0xe000,prgreg[3]); + int i; for(i=0; i<8; i++) setchr1(i<<10,chrreg[i]); setmirror(mirror^1);