cd: better cd change handling, perhaps?

This commit is contained in:
notaz 2013-09-16 04:09:02 +03:00
parent fa8fb75445
commit d0132772f7
7 changed files with 52 additions and 13 deletions

View file

@ -331,6 +331,10 @@ void s68k_reg_write8(u32 a, u32 d)
{
// Warning: d might have upper bits set
switch (a) {
case 1:
if (!(d & 1))
pcd_soft_reset();
return;
case 2:
return; // only m68k can change WP
case 3: {