mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-06-10 03:35:00 -06:00
26 lines
659 B
C++
26 lines
659 B
C++
// SPDX-FileCopyrightText: Copyright 2025-2026 shadPS4 Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#include <SDL3/SDL_messagebox.h>
|
|
// tests/stubs/sdl_stub.cpp
|
|
#include "sdl_window.h"
|
|
|
|
namespace Frontend {
|
|
WindowSDL::~WindowSDL() = default;
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
bool SDL_ShowMessageBox(const SDL_MessageBoxData* /* messageboxdata */, int* buttonid) {
|
|
if (buttonid)
|
|
*buttonid = 0; // "No",skip migration
|
|
return true;
|
|
}
|
|
|
|
bool SDL_ShowSimpleMessageBox(SDL_MessageBoxFlags /* flags */, const char* /* title */,
|
|
const char* /* message */, SDL_Window* /* window */) {
|
|
return true;
|
|
}
|
|
|
|
} // extern "C"
|