mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
cd: better cd change handling, perhaps?
This commit is contained in:
parent
fa8fb75445
commit
d0132772f7
7 changed files with 52 additions and 13 deletions
|
@ -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: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue