See why PSP fails on ubuntu vm

This commit is contained in:
2026-01-28 11:33:12 -06:00
parent 9ed902017c
commit 6af570fab2
4 changed files with 9 additions and 7 deletions

View File

@@ -2,8 +2,8 @@ name: Build Dusk
on: on:
push: push:
branches: tags:
- main - '*'
pull_request: pull_request:
branches: branches:
- main - main

View File

@@ -13,8 +13,8 @@ option(ENABLE_TESTS "Enable tests" ON)
# Set target system # Set target system
if(NOT DEFINED DUSK_TARGET_SYSTEM) if(NOT DEFINED DUSK_TARGET_SYSTEM)
set(DUSK_TARGET_SYSTEM "linux") # set(DUSK_TARGET_SYSTEM "linux")
# set(DUSK_TARGET_SYSTEM "psp") set(DUSK_TARGET_SYSTEM "psp")
endif() endif()
# Prep cache # Prep cache

View File

@@ -31,9 +31,9 @@ if(NOT TARGET pspsdk)
if(NOT PSPSDK_PSP_GCC) if(NOT PSPSDK_PSP_GCC)
message(STATUS "psp-gcc not found in system paths. Downloading PSPSDK tarball...") message(STATUS "psp-gcc not found in system paths. Downloading PSPSDK tarball...")
file(DOWNLOAD file(DOWNLOAD
"https://github.com/pspdev/pspdev/releases/download/v20260101/pspdev-ubuntu-latest-x86_64.tar.gz" "https://github.com/pspdev/pspdev/releases/download/v20251201/pspdev-ubuntu-latest-x86_64.tar.gz"
"${CMAKE_BINARY_DIR}/pspsdk.tar.gz" "${CMAKE_BINARY_DIR}/pspsdk.tar.gz"
EXPECTED_HASH SHA256=68fb6063323e695a43415a151b3dd9ded61d00605f02d20146cc6933c11830f8 EXPECTED_HASH SHA256=f9641466963d08b8766b02f69fc512314afbb876371a2a0cc8e4ad397e8c5bd7
SHOW_PROGRESS SHOW_PROGRESS
) )

View File

@@ -98,7 +98,9 @@ void inputUpdate(void) {
} while(cur->name); } while(cur->name);
// Do we need to fire off events? // Do we need to fire off events?
#if TIME_FIXED == 0
if(TIME.dynamicUpdate) return; if(TIME.dynamicUpdate) return;
#endif
if(INPUT.eventPressed.listenerCount > 0) { if(INPUT.eventPressed.listenerCount > 0) {
action = &INPUT.actions[0]; action = &INPUT.actions[0];