X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=cpu%2Fsh2%2Fsh2.c;h=8ba5673d52b19566841c887bbd8cbebc8ace8de2;hb=e898de13cdd5416507675f175958204c5e9f27e9;hp=2ee3c3a3c0ce7f15528364229657b34c83803f91;hpb=4c67e7ad99a5891340f92eb86f0d24e0975eca90;p=picodrive.git diff --git a/cpu/sh2/sh2.c b/cpu/sh2/sh2.c index 2ee3c3a..8ba5673 100644 --- a/cpu/sh2/sh2.c +++ b/cpu/sh2/sh2.c @@ -16,6 +16,13 @@ int sh2_init(SH2 *sh2, int is_slave) return ret; } +void sh2_finish(SH2 *sh2) +{ +#ifdef DRC_SH2 + sh2_drc_finish(sh2); +#endif +} + void sh2_reset(SH2 *sh2) { sh2->pc = p32x_sh2_read32(0, sh2->is_slave);