Disable cache emulation checks for VC (#509)
* Disable cache emulation checks for VC * Get rid of unnecessary gIsVC initialization
This commit is contained in:
1 parent
fc6a6055d9
commit
a7a637eb10
1 file changed
+5
-2
+5
-2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user