mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-06-10 03:35:00 -06:00
fixed tests?
This commit is contained in:
parent
9e6ed97ed7
commit
f1921040a4
@ -2,17 +2,24 @@
|
||||
// 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_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;
|
||||
}
|
||||
bool SDL_ShowSimpleMessageBox(SDL_MessageBoxFlags /* flags */, const char* /* title */,
|
||||
const char* /* message */, SDL_Window* /* window */) {
|
||||
return true;
|
||||
}
|
||||
|
||||
} // extern "C"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user