mirror of
https://github.com/wiiu-env/NotificationModule.git
synced 2025-06-12 10:49:21 +02:00
make sure gOverlayFrame is valid
This commit is contained in:
@ -72,6 +72,9 @@ void drawScreenshotSavedTexture2(GX2ColorBuffer *colorBuffer, GX2ScanTarget scan
|
||||
}
|
||||
|
||||
static void TryAddFromQueue() {
|
||||
if (!gOverlayFrame) {
|
||||
return;
|
||||
}
|
||||
std::lock_guard overlay_lock(gOverlayFrameMutex);
|
||||
// Add notification that had been called before the overlay was ready
|
||||
for (const auto ¬ification : gOverlayQueueDuringStartup) {
|
||||
|
Reference in New Issue
Block a user