Files
ARMSX2/pcsx2/Android/AndroidPcapStubs.cpp
David IsztlandClaude Opus 4.8 2eb9ec659c refactor: move Android frontend to platforms/android on single shared core
Snapshot the refresh-experimental Android app (Gradle + JNI + Android-only
3rdparty) into platforms/android/. Delete its vendored PCSX2 core copy and
relocate the ~24 genuinely Android-specific core additions (Oboe audio, Android
stubs, EGL-Android GL context, NEON SPU2, GSGPUProfile, VU1Fingerprint, Android
HTTP downloader) into the root core, guarded by if(ANDROID) in
pcsx2/CMakeLists.txt and common/CMakeLists.txt.

The superseded arm64 JIT experiment (arm64/mac/* IR-VU backend, split
aVU0/aDMAC/aVTLB/aR5900COP*) is dropped: the root macOS arm64 JIT (127 unique
commits, newer) is the canonical recompiler.

Rewire the Android native build to a thin CMakeLists that sources the root
{common,pcsx2,3rdparty} instead of the deleted vendored copy.

NOT yet compiled against a real NDK -- build validation is CI's job.
See REFACTOR_STATUS.md.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-08 20:29:23 +02:00

25 lines
1.1 KiB
C++

// SPDX-FileCopyrightText: 2002-2026 PCSX2 Dev Team
// SPDX-License-Identifier: GPL-3.0+
// PCAPAdapter stubs for Android (no libpcap available).
#include "PrecompiledHeader.h"
#include "DEV9/pcap_io.h"
PCAPAdapter::PCAPAdapter() {}
PCAPAdapter::~PCAPAdapter() {}
bool PCAPAdapter::blocks() { return false; }
bool PCAPAdapter::isInitialised() { return false; }
bool PCAPAdapter::recv(NetPacket* pkt) { return false; }
bool PCAPAdapter::send(NetPacket* pkt) { return false; }
void PCAPAdapter::reloadSettings() {}
std::vector<AdapterEntry> PCAPAdapter::GetAdapters() { return {}; }
AdapterOptions PCAPAdapter::GetAdapterOptions() { return AdapterOptions::None; }
bool PCAPAdapter::InitPCAP(const std::string& adapter, bool promiscuous) { return false; }
bool PCAPAdapter::SetMACSwitchedFilter(PacketReader::MAC_Address mac) { return false; }
void PCAPAdapter::SetMACBridgedRecv(NetPacket* pkt) {}
void PCAPAdapter::SetMACBridgedSend(NetPacket* pkt) {}
void PCAPAdapter::HandleFrameCheckSequence(NetPacket* pkt) {}
bool PCAPAdapter::ValidateEtherFrame(NetPacket* pkt) { return false; }