change where audio/joystick are inited, attempting to fix potential COM initialize issues

This commit is contained in:
StapleButter
2018-12-11 16:24:55 +01:00
parent 3dd8c7b152
commit beb092f93e
2 changed files with 30 additions and 32 deletions

View File

@ -82,13 +82,13 @@ void ARMv5::UpdateDTCMSetting()
{
DTCMBase = DTCMSetting & 0xFFFFF000;
DTCMSize = 0x200 << ((DTCMSetting >> 1) & 0x1F);
printf("DTCM [%08X] enabled at %08X, size %X\n", DTCMSetting, DTCMBase, DTCMSize);
//printf("DTCM [%08X] enabled at %08X, size %X\n", DTCMSetting, DTCMBase, DTCMSize);
}
else
{
DTCMBase = 0xFFFFFFFF;
DTCMSize = 0;
printf("DTCM disabled\n");
//printf("DTCM disabled\n");
}
}
@ -97,12 +97,12 @@ void ARMv5::UpdateITCMSetting()
if (CP15Control & (1<<18))
{
ITCMSize = 0x200 << ((ITCMSetting >> 1) & 0x1F);
printf("ITCM [%08X] enabled at %08X, size %X\n", ITCMSetting, 0, ITCMSize);
//printf("ITCM [%08X] enabled at %08X, size %X\n", ITCMSetting, 0, ITCMSize);
}
else
{
ITCMSize = 0;
printf("ITCM disabled\n");
//printf("ITCM disabled\n");
}
}