mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Libretro buildfix: drop WebSocket stubs duplicating the inline ones in the header
0ed6b97921 added inline no-op stubs to WebSocket.h under __LIBRETRO__, but the
older non-inline ones in libretro.cpp stayed, so every libretro build has had two
definitions of each. gcc/clang inline the trivial bodies away and emit no symbol,
so it only shows up with MSVC, as LNK2005 against Core.o/Breakpoints.o.
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01FzzCUp8y1ahgVueb1Cq92Y
This commit is contained in:
1 parent
936ea927f7
commit
2396ac7acb
1 file changed
-5
@@ -1984,11 +1984,6 @@ void System_PostUIMessage(UIMessage message, std::string_view param) {}
|
||||
void System_RunOnMainThread(std::function<void()>) {}
|
||||
void NativeFrame(GraphicsContext *graphicsContext) {}
|
||||
void NativeResized() {}
|
||||
// Stubs to let things link - libretro builds Core.cpp and Breakpoints.cpp, which call into the
|
||||
// WebSocket debugger, but doesn't build Core/Debugger/WebSocket.cpp itself.
|
||||
void WebSocketDebuggerTick() {}
|
||||
bool WebSocketDebuggerHasClients() { return false; }
|
||||
void WebSocketNotifyBreakpointHit(const BreakpointHit &hit) {}
|
||||
void System_Toast(std::string_view str) {}
|
||||
|
||||
inline int16_t Clamp16(int32_t sample) {
|
||||
|
||||
Reference in new issue
Block a user