mirror of
https://github.com/Polprzewodnikowy/SummerCart64.git
synced 2024-11-24 06:39:14 +01:00
fix broken 64dd direct mode
This commit is contained in:
parent
f4ffacd9b4
commit
7837724dd8
@ -38,14 +38,11 @@ void cic_reset_parameters (void) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void cic_set_parameters (uint32_t *args) {
|
void cic_set_parameters (uint32_t *args) {
|
||||||
cic_region_t region = rtc_get_region();
|
|
||||||
|
|
||||||
uint32_t cic_config_0 = args[0] & (0x00FFFFFF);
|
uint32_t cic_config_0 = args[0] & (0x00FFFFFF);
|
||||||
uint32_t cic_config_1 = args[1];
|
uint32_t cic_config_1 = args[1];
|
||||||
|
|
||||||
if (region == REGION_PAL) {
|
cic_config_0 |= fpga_reg_get(REG_CIC_0) & (CIC_64DD_MODE | CIC_REGION);
|
||||||
cic_config_0 |= CIC_REGION;
|
|
||||||
}
|
|
||||||
if (args[0] & (1 << 24)) {
|
if (args[0] & (1 << 24)) {
|
||||||
cic_config_0 |= CIC_DISABLED;
|
cic_config_0 |= CIC_DISABLED;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user