Skip to content

Commit

Permalink
- Use packaged xxHash.
Browse files Browse the repository at this point in the history
  • Loading branch information
Extrems committed Feb 17, 2024
1 parent 571d834 commit 7327e67
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6,826 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/continuous-integration-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
sudo sed -i '/^\[dkp-libs\]$/,$d' /opt/devkitpro/pacman/etc/pacman.conf
sudo echo -e '[extremscorner-devkitpro]\nServer = https://packages.extremscorner.org/devkitpro/linux/$arch' >> /opt/devkitpro/pacman/etc/pacman.conf
sudo dkp-pacman -Sy
sudo dkp-pacman -S --noconfirm --ask 4 libogc2-git ppc-libpsoarchive ppc-zlib-ng-compat
sudo dkp-pacman -S --noconfirm --ask 4 libogc2-git ppc-libmad ppc-libpsoarchive ppc-libxxhash ppc-zlib-ng-compat
- name: Checkout Swiss
uses: actions/checkout@main
Expand Down
5 changes: 2 additions & 3 deletions cube/swiss/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ SOURCES := source \
source/patches/vi \
source/images \
source/images/buttons \
source/fatfs \
source/xxhash
source/fatfs
DATA := data
TEXTURES := source/images \
source/images/buttons
Expand All @@ -71,7 +70,7 @@ LDFLAGS = $(CFLAGS) -Wl,-Map,$(notdir $@).map -T ../../linker-script/ogc.ld -T
#---------------------------------------------------------------------------------
# any extra libraries we wish to link with the project
#---------------------------------------------------------------------------------
LIBS := -ltinysmb -lbba -laesnd -lmad -ldb -logc -lpsoarchive -lz
LIBS := -ltinysmb -lbba -laesnd -lmad -ldb -logc -lpsoarchive -lxxhash -lz

#---------------------------------------------------------------------------------
# list of directories containing libraries, this must be the top level containing
Expand Down
4 changes: 2 additions & 2 deletions cube/swiss/source/gcm.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
#include <string.h>
#include <math.h>
#include <malloc.h>
#include <psoarchive/PRS.h>
#include <xxhash.h>
#include "dvd.h"
#include "elf.h"
#include "gcm.h"
Expand All @@ -19,8 +21,6 @@
#include "devices/deviceHandler.h"
#include "gui/FrameBufferMagic.h"
#include "gui/IPLFontWrite.h"
#include "psoarchive/PRS.h"
#include "xxhash/xxhash.h"

#define FST_ENTRY_SIZE 12

Expand Down
4 changes: 2 additions & 2 deletions cube/swiss/source/swiss.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
#include <sys/types.h>
#include <sys/time.h>
#include <time.h>
#include <psoarchive/PRS.h>
#include <xxhash.h>
#include <zlib.h>

#include "swiss.h"
Expand All @@ -49,8 +51,6 @@
#include "devices/deviceHandler.h"
#include "devices/filelock.h"
#include "devices/filemeta.h"
#include "psoarchive/PRS.h"
#include "xxhash/xxhash.h"
#include "dolparameters.h"
#include "reservedarea.h"

Expand Down
45 changes: 0 additions & 45 deletions cube/swiss/source/xxhash/xxhash.c

This file was deleted.

0 comments on commit 7327e67

Please sign in to comment.