aboutsummaryrefslogtreecommitdiff
path: root/examples/cdrom/cdxa
diff options
context:
space:
mode:
Diffstat (limited to 'examples/cdrom/cdxa')
-rw-r--r--examples/cdrom/cdxa/CMakeLists.txt4
-rw-r--r--examples/cdrom/cdxa/main.c1
2 files changed, 2 insertions, 3 deletions
diff --git a/examples/cdrom/cdxa/CMakeLists.txt b/examples/cdrom/cdxa/CMakeLists.txt
index b0c8d90..18dcc69 100644
--- a/examples/cdrom/cdxa/CMakeLists.txt
+++ b/examples/cdrom/cdxa/CMakeLists.txt
@@ -1,7 +1,7 @@
# PSn00bSDK example CMake script
# (C) 2021 spicyjpeg - MPL licensed
-cmake_minimum_required(VERSION 3.21)
+cmake_minimum_required(VERSION 3.20)
if(NOT DEFINED CMAKE_TOOLCHAIN_FILE AND DEFINED ENV{PSN00BSDK_LIBS})
set(CMAKE_TOOLCHAIN_FILE $ENV{PSN00BSDK_LIBS}/cmake/sdk.cmake)
@@ -25,5 +25,5 @@ install(
#${PROJECT_BINARY_DIR}/cdxa.bin
#${PROJECT_BINARY_DIR}/cdxa.cue
${PROJECT_BINARY_DIR}/cdxa.exe
- DESTINATION .
+ TYPE BIN
)
diff --git a/examples/cdrom/cdxa/main.c b/examples/cdrom/cdxa/main.c
index 16f1c82..5f11d8d 100644
--- a/examples/cdrom/cdxa/main.c
+++ b/examples/cdrom/cdxa/main.c
@@ -129,7 +129,6 @@
#include <psxspu.h>
#include <psxcd.h>
-#include <malloc.h>
#include "ball16c.h"