shithub: psxe

Download patch

ref: 3c4b089ee47e1b25e7e7c47f00f84453823c4c75
parent: 7f19151ffc8aacfb6f95084fcd2d902de4c3efbb
author: allkern <lisandroaalarcon@gmail.com>
date: Sat May 11 09:30:16 EDT 2024

Fix 32-bit Windows build

Remove unnecessary downloads

--- a/build-deps.ps1
+++ b/build-deps.ps1
@@ -3,18 +3,6 @@
 }
 
 $SDL2_URL = "https://github.com/libsdl-org/SDL/releases/download/release-2.30.3/SDL2-devel-2.30.3-mingw.zip"
-$WIN32_URL = "https://github.com/libsdl-org/SDL/releases/download/release-2.30.3/SDL2-2.30.3-win32-x86.zip"
-$WIN64_URL = "https://github.com/libsdl-org/SDL/releases/download/release-2.30.3/SDL2-2.30.3-win32-x64.zip"
 
 Invoke-WebRequest -URI $SDL2_URL -OutFile "sdl2.zip"
-Expand-Archive "sdl2.zip" -DestinationPath "." -Force
-
-Invoke-WebRequest -URI $WIN32_URL -OutFile "sdl2-win32.zip"
-Expand-Archive "sdl2-win32.zip" -DestinationPath "sdl2-win32" -Force
-
-Invoke-WebRequest -URI $WIN64_URL -OutFile "sdl2-win64.zip"
-Expand-Archive "sdl2-win64.zip" -DestinationPath "sdl2-win64" -Force
-
-Remove-Item "sdl2.zip"
-Remove-Item "sdl2-win32.zip"
-Remove-Item "sdl2-win64.zip"
\ No newline at end of file
+Expand-Archive "sdl2.zip" -DestinationPath "." -Force
\ No newline at end of file
--- a/build-win32.ps1
+++ b/build-win32.ps1
@@ -6,7 +6,7 @@
            (Get-WMIObject win32_operatingsystem).version + " " + `
            (Get-WMIObject win32_operatingsystem).OSArchitecture
 
-$SDL2_DIR = "SDL2-2.26.5\i686-w64-mingw32"
+$SDL2_DIR = "SDL2-2.30.3\i686-w64-mingw32"
 $PSX_DIR = "."
 
 mkdir -Force -Path bin > $null
--