mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-05 18:24:08 +00:00
[host] app: calculate and report the required IVSHMEM size
One of the most common issues reported in the support channels is the IVSHMEM size being too small. This change adds a calculation to determine an optimal size and uses the new `os_showMessage` platform method to display a message box to the user with the error.
This commit is contained in:
@@ -537,3 +537,8 @@ bool os_blockScreensaver()
|
||||
}
|
||||
return lastResult;
|
||||
}
|
||||
|
||||
void os_showMessage(const char * caption, const char * msg)
|
||||
{
|
||||
MessageBoxA(NULL, msg, caption, MB_OK | MB_ICONINFORMATION);
|
||||
}
|
||||
|
Reference in New Issue
Block a user