diff --git a/src/internal.cpp b/src/internal.cpp index 8e906cb..36d381c 100644 --- a/src/internal.cpp +++ b/src/internal.cpp @@ -11,11 +11,6 @@ namespace vkvm { auto setDefaultValues() -> void { impl.localMemoryWarn = false; if (getSharedMemory() != nullptr) { - if (!impl.localSharedMemory.empty()) { - if(getSharedMemory() == &impl.localSharedMemory[0]){ - return; - } - } setMode(GraphicMode::RGB); setCharactersPerRow(60); setCharactersPerColumn(20); diff --git a/src/log.cpp b/src/log.cpp index 5e73ce1..d7999c0 100644 --- a/src/log.cpp +++ b/src/log.cpp @@ -138,6 +138,7 @@ namespace vkvm { if(logToFileStream.is_open()){ if(level >= fileLogLevel){ logToFileStream << noColorStream.str(); + //TODO(julian): fixme logToFileStream.flush(); } }