From: notaz Date: Thu, 5 Oct 2017 22:31:11 +0000 (+0300) Subject: fix t574 reset X-Git-Tag: v1.92~6 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;ds=sidebyside;h=2b46e6c1054e1551d0edaecd8164cdaebc0c09b1;p=picodrive.git fix t574 reset --- diff --git a/pico/carthw/carthw.c b/pico/carthw/carthw.c index a18e5a4..cd47e7c 100644 --- a/pico/carthw/carthw.c +++ b/pico/carthw/carthw.c @@ -423,7 +423,6 @@ static void carthw_pier_reset(void) { pier_regs[0] = 1; pier_regs[1] = pier_regs[2] = pier_regs[3] = 0; - pier_dump_prot = 3; carthw_pier_statef(); eeprom_spi_init(NULL); } @@ -443,6 +442,8 @@ void carthw_pier_startup(void) return; } + pier_dump_prot = 3; + // create dump protection bank for (i = 0; i < M68K_BANK_SIZE; i += 0x8000) memcpy(Pico.rom + Pico.romsize + i, Pico.rom, 0x8000);