mirror of
https://github.com/MacosPorters/betterxen.git
synced 2026-11-26 16:50:43 +00:00
Rebases onto origin/main and retires the paused in-tree native-first workspace, legacy scripts, legacy CI, and native-only docs per ADR 0006 (preserving full history permanently at Git tag native-first-final). Addresses all maintainer review findings on PR #406: - Isolate CrossOver/Wine child process environment in bx-cli (env_clear + minimal allowlist + opt-in --inherit-env, with unit tests) - Replace naive objdump grep in scripts/build-shims.sh with strict PE Export Directory verification (exact names, ordinals, forwarders, 0 extra exports, 0 forbidden MinGW imports across all 16 DLLs / 102 exports) - Restore global * @MacosPorters/maintainers fallback in .github/CODEOWNERS alongside per-track rules - Restore independent-verification, claims/evidence-class, provenance-first, and contributor clean-room protections in AGENTS.md - Unify docs/roadmap.md, CONTRIBUTING.md, README.md, docs/README.md, THIRD_PARTY_NOTICES.md, and CHANGELOG.md around Milestones M0-M6 and ADR 0006 Signed-off-by: ates <ahmetrizaates@hotmail.com>
22 lines
704 B
C++
22 lines
704 B
C++
#include <windows.h>
|
|
#include <cstdint>
|
|
|
|
#include "bx_log.h"
|
|
|
|
/* Track E (M1-E2 / M5): chad.dll Xbox DSP command shim. */
|
|
|
|
extern "C" {
|
|
|
|
HRESULT WINAPI XDspConnectWithMaximumStreamLimit(uint32_t /*max_streams*/, void** out_handle) {
|
|
BX_STUB_LOG("chad.dll", "XDspConnectWithMaximumStreamLimit");
|
|
if (out_handle) *out_handle = reinterpret_cast<void*>(0x5001);
|
|
return S_OK;
|
|
}
|
|
|
|
HRESULT WINAPI XDspDisconnect(void* /*handle*/) { return S_OK; }
|
|
HRESULT WINAPI XDspActivate(void* /*handle*/) { return S_OK; }
|
|
HRESULT WINAPI XDspDeactivate(void* /*handle*/) { return S_OK; }
|
|
HRESULT WINAPI XDspSubmitCommand(void* /*handle*/, const void* /*cmd*/, uint32_t /*size*/) { return S_OK; }
|
|
|
|
} // extern "C"
|