Fix compiling

This commit is contained in:
Maschell 2024-12-29 11:34:58 +01:00
parent 784deb6840
commit b273a0cc21

View File

@ -49,7 +49,7 @@ static uint32_t lastData0 = 0;
DECL_FUNCTION(BOOL, OSSendMessage, OSMessageQueue *queue, OSMessage *message, OSMessageFlags flags) {
if (gConfigMenuOpened && queue == OSGetSystemMessageQueue()) {
if (message != nullptr) {
if (message->args[0] == 0xfacebacc && sConfigMenuOpened) { // Release foreground
if (message->args[0] == 0xfacebacc && gConfigMenuOpened) { // Release foreground
gConfigMenuShouldClose = true;
}
}