release: prepare psxrecomp v0.3.2-alpha

This commit is contained in:
Matthew Stanley
2026-08-27 13:33:04 -07:00
parent 88f07bc9e3
commit b2d5abc41b
2 changed files with 9 additions and 4 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
# Unreleased
# v0.3.2-alpha
- Replaces OpenGL temporal frame blending's shared second context and
presentation thread with a deadline-driven path on the renderer's original
+8 -3
View File
@@ -1,5 +1,5 @@
param(
[string]$Version = "v0.1.0-alpha",
[string]$Version = "v0.3.2-alpha",
[string]$BuildDir = "runtime/build-release"
)
@@ -21,7 +21,12 @@ cmake -S (Join-Path $Root "runtime") -B $BuildPath -G Ninja `
cmake --build $BuildPath --target psx-runtime -j $env:NUMBER_OF_PROCESSORS
if (Test-Path $StageRoot) {
Remove-Item -Recurse -Force $StageRoot
$resolvedRoot = (Resolve-Path $Root).Path.TrimEnd('\')
$resolvedStage = (Resolve-Path $StageRoot).Path.TrimEnd('\')
if (-not $resolvedStage.StartsWith($resolvedRoot + "\", [System.StringComparison]::OrdinalIgnoreCase)) {
throw "Refusing to delete stage path outside repo root: $resolvedStage"
}
Remove-Item -LiteralPath $StageRoot -Recurse -Force
}
New-Item -ItemType Directory -Force $Stage | Out-Null
New-Item -ItemType Directory -Force (Join-Path $Stage "saves") | Out-Null
@@ -53,7 +58,7 @@ $imports = & $objdump -p (Join-Path $Stage "PSXRecomp.exe") |
$systemDlls = @("kernel32.dll","user32.dll","gdi32.dll","shell32.dll","msvcrt.dll",
"advapi32.dll","ws2_32.dll","comdlg32.dll","dbghelp.dll","ole32.dll",
"oleaut32.dll","winmm.dll","imm32.dll","version.dll","setupapi.dll",
"dinput8.dll","rpcrt4.dll","hid.dll","cfgmgr32.dll")
"dinput8.dll","rpcrt4.dll","hid.dll","cfgmgr32.dll","opengl32.dll")
$nonSystem = $imports | Where-Object { $systemDlls -notcontains $_.ToLower() }
if ($nonSystem) {
throw "Release exe is NOT self-contained; imports non-system DLL(s): $($nonSystem -join ', ')"