Disable cache emulation checks for VC (#509)

* Disable cache emulation checks for VC

* Get rid of unnecessary gIsVC initialization
This commit is contained in:
Denis Kopyrin
2022-10-20 01:57:53 +00:00
committed by GitHub
parent fc6a6055d9
commit a7a637eb10

View File

@@ -345,8 +345,11 @@ void thread3_main(UNUSED void *arg) {
if (IO_READ(DPC_CLOCK_REG) == 0) {
gIsConsole = FALSE;
gBorderHeight = BORDER_HEIGHT_EMULATOR;
gIsVC = IS_VC();
check_cache_emulation();
if (!gIsVC) {
check_cache_emulation();
} else {
gCacheEmulated = FALSE;
}
} else {
gIsConsole = TRUE;
gBorderHeight = BORDER_HEIGHT_CONSOLE;