only set default values if local shared memory is used
This commit is contained in:
parent
34388786e6
commit
730b49378c
@ -11,6 +11,7 @@ namespace vkvm {
|
||||
auto setDefaultValues() -> void {
|
||||
impl.localMemoryWarn = false;
|
||||
if (getSharedMemory() != nullptr) {
|
||||
if(getSharedMemory() == &impl.localSharedMemory[0]) {
|
||||
setMode(GraphicMode::RGB);
|
||||
setCharactersPerRow(60);
|
||||
setCharactersPerColumn(20);
|
||||
@ -23,6 +24,7 @@ namespace vkvm {
|
||||
setTimerInterruptInterval(1000);
|
||||
setFont(FontType::ProFontIIX);
|
||||
}
|
||||
}
|
||||
impl.localMemoryWarn = true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user