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 authored and GitHub committed 2022-10-19 20:57:53 -05:00
1 parent fc6a6055d9
commit a7a637eb10
1 file changed
+5 -2
+5 -2
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;