mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2024-11-13 06:15:07 +01:00
[Core/CD] CD struct area should only be touched when emulated since it's shared with large ROM (> 8MB) buffer area
This commit is contained in:
parent
2e8fde0963
commit
101afae137
@ -1107,10 +1107,12 @@ void get_region(char *romheader)
|
||||
else if (config.master_clock == 2) system_clock = MCLOCK_PAL;
|
||||
|
||||
/* reinitialize CD unit master clock count per scanline */
|
||||
scd.cycles_per_line = (uint32) (MCYCLES_PER_LINE * ((float)SCD_CLOCK / (float)system_clock));
|
||||
if (system_hw == SYSTEM_MCD)
|
||||
{
|
||||
scd.cycles_per_line = (uint32) (MCYCLES_PER_LINE * ((float)SCD_CLOCK / (float)system_clock));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/****************************************************************************
|
||||
* get_company (Softdev - 2006)
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user