From 2b46e6c1054e1551d0edaecd8164cdaebc0c09b1 Mon Sep 17 00:00:00 2001 From: notaz Date: Fri, 6 Oct 2017 01:31:11 +0300 Subject: [PATCH] fix t574 reset --- pico/carthw/carthw.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pico/carthw/carthw.c b/pico/carthw/carthw.c index a18e5a41..cd47e7c7 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); -- 2.39.5