notaz.gp2x.de
/
picodrive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88fd63a
)
fix t574 reset
author
notaz
<notasas@gmail.com>
Thu, 5 Oct 2017 22:31:11 +0000
(
01:31
+0300)
committer
notaz
<notasas@gmail.com>
Fri, 13 Oct 2017 21:53:08 +0000
(
00:53
+0300)
pico/carthw/carthw.c
patch
|
blob
|
blame
|
history
diff --git
a/pico/carthw/carthw.c
b/pico/carthw/carthw.c
index
a18e5a4
..
cd47e7c
100644
(file)
--- 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);