diff --git a/src/function_patches.cpp b/src/function_patches.cpp index c6ba97a..90c0066 100644 --- a/src/function_patches.cpp +++ b/src/function_patches.cpp @@ -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) {