Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge dev #265

Merged
merged 63 commits into from
Oct 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
a5a8e75
windows: fix building
Cpasjuste Sep 12, 2023
e849314
cmake: bump cmake_minimum_required to 3.5
Cpasjuste Sep 12, 2023
95f1bd8
windows/linux: fix fullscreen on/off option
Cpasjuste Sep 13, 2023
1338126
minor cleanup
Cpasjuste Sep 13, 2023
397d92a
linux: remove romfs support (fusefs, may fix https://github.com/Cpasj…
Cpasjuste Sep 13, 2023
27af367
vita: fix compilation
Cpasjuste Sep 13, 2023
4b3e19c
config: refactor (wip)
Cpasjuste Sep 14, 2023
dfbc8b2
config: big refactor
Cpasjuste Sep 18, 2023
936794b
config: rename
Cpasjuste Sep 18, 2023
8421176
config: rename
Cpasjuste Sep 18, 2023
8719fcc
misc: rename ui to src
Cpasjuste Sep 18, 2023
5301cbe
misc: move cores to external dir
Cpasjuste Sep 18, 2023
7f4abbe
misc: move modules to external dir
Cpasjuste Sep 18, 2023
b91771d
switch/vita/ps4: fix for latest changes
Cpasjuste Sep 19, 2023
8dbc90a
config: rename config-new.cfg to config.cfg
Cpasjuste Sep 19, 2023
7204bf0
misc: refactor code organization
Cpasjuste Sep 19, 2023
d2d6e7f
misc: minor cleanup
Cpasjuste Sep 19, 2023
2e06142
misc: code cleanup (rename c2dui namespace to pemu)
Cpasjuste Sep 19, 2023
aa6bb1b
misc: refactor code organization
Cpasjuste Sep 19, 2023
30b321e
misc: refactor code (unify main.cpp for every cores)
Cpasjuste Sep 19, 2023
4424210
pfbneo: fix light target
Cpasjuste Sep 19, 2023
947395c
ui_main.cpp: minor cleanup
Cpasjuste Sep 20, 2023
2a97926
ui: improve filtering
Cpasjuste Sep 22, 2023
89658fb
common: fix games systems when using recalbox gamelist.xml
Cpasjuste Sep 22, 2023
2b340a8
cores: simplify code (wip)
Cpasjuste Sep 25, 2023
7285fd2
cores: simplify code (wip)
Cpasjuste Sep 25, 2023
bcb2425
cores: simplify code (wip)
Cpasjuste Sep 25, 2023
c2693fc
pgen: fix roms paths
Cpasjuste Sep 25, 2023
855fb59
misc: minor cleanup
Cpasjuste Sep 25, 2023
b1792bc
pgba: add mGBA core (wip)
Cpasjuste Sep 26, 2023
15dcb5a
github: cleanup workflows
Cpasjuste Sep 26, 2023
9f383a6
pgba: add mGBA core (wip 2)
Cpasjuste Sep 26, 2023
cc9c4c5
pgba: add zip support
Cpasjuste Sep 26, 2023
a6b49f3
pgba: add crappy gfx
Cpasjuste Sep 26, 2023
d7ef1bc
pgba: add crappy gfx (2)
Cpasjuste Sep 26, 2023
586112f
pgba: add input support
Cpasjuste Sep 27, 2023
34e8de3
pgba: minor changes
Cpasjuste Sep 27, 2023
d247949
ui: fix menu highlight height
Cpasjuste Sep 27, 2023
046a986
ui: refactor config/options (wip)
Cpasjuste Sep 27, 2023
1879f90
ui: refactor config/options (wip)
Cpasjuste Sep 28, 2023
aaf62b4
pgba: add save support
Cpasjuste Sep 28, 2023
98e9bc6
pfbneo: fix title image
Cpasjuste Sep 28, 2023
1d230b0
common: remove embedded gamelist support (use gamelist.xml files foun…
Cpasjuste Sep 28, 2023
28c5301
common: remove embedded gamelist support (use gamelist.xml files foun…
Cpasjuste Sep 28, 2023
98a46fe
fbneo: fix/finnish gamelist.xml support
Cpasjuste Sep 29, 2023
fe0c64d
misc: minor cleanup
Cpasjuste Sep 29, 2023
363c6a5
romlist.cpp: minor cleanup
Cpasjuste Sep 29, 2023
a9dbdc1
fbneo: bump to latest git revision (https://github.com/finalburnneo/F…
Cpasjuste Sep 29, 2023
455da84
common: remove embedded gamelist support (use gamelist.xml files foun…
Cpasjuste Sep 29, 2023
254bbde
ui: fix roms listbox up/down
Cpasjuste Sep 29, 2023
a5f27cf
vita: fix fbneo core bump
Cpasjuste Sep 29, 2023
f66049a
common: set option "FILTER_AVAILABLE" to "ON" by default
Cpasjuste Sep 29, 2023
6e0d9f6
ui: fix roms/systems filtering
Cpasjuste Sep 29, 2023
35c60bf
ui: rename FILTER_AVAILABLE to FILTER_MISSING
Cpasjuste Sep 29, 2023
791ba79
ps4: fix pgba compilation
Cpasjuste Sep 29, 2023
a666c1a
vita: fix pgba compilation
Cpasjuste Sep 29, 2023
3fbd447
github: enable workflow_dispatch for releases target
Cpasjuste Sep 29, 2023
b3ee63c
windows: fix pgba compilation
Cpasjuste Sep 29, 2023
ff452ec
config: allow adding custom roms paths to config file
Cpasjuste Oct 2, 2023
4b1218b
common: update readme's
Cpasjuste Oct 2, 2023
033808b
ui: add roms count in rom listing
Cpasjuste Oct 2, 2023
862b91c
psnes: fix paths
Cpasjuste Oct 3, 2023
35de406
pfbneo: fix driver lookup
Cpasjuste Oct 3, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
34 changes: 7 additions & 27 deletions .github/workflows/3ds-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,35 +24,15 @@ jobs:
sudo apt -yq update
sudo apt -yq install git build-essential cmake zip

- name: Build pfbneo
- name: Configure
run: |
mkdir cmake-build-pfbneo && cd cmake-build-pfbneo
cd $GITHUB_WORKSPACE
source /etc/profile.d/devkit-env.sh
cmake -G "Unix Makefiles" -DPLATFORM_3DS=ON -DOPTION_EMU=pfbneo \
-DOPTION_LIGHT=ON -DOPTION_MPV_PLAYER=OFF -DCMAKE_BUILD_TYPE=Debug ..
make pfbneo.deps
make -j $(getconf _NPROCESSORS_ONLN) pfbneo.3dsx
mkdir cmake-build && cd cmake-build
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug .. \
-DPLATFORM_3DS=ON -DOPTION_LIGHT=ON -DOPTION_MPV_PLAYER=OFF

- name: Build pgen
run: |
mkdir cmake-build-pgen && cd cmake-build-pgen
source /etc/profile.d/devkit-env.sh
cmake -G "Unix Makefiles" -DPLATFORM_3DS=ON -DOPTION_EMU=pgen \
-DOPTION_MPV_PLAYER=OFF -DCMAKE_BUILD_TYPE=Debug ..
make -j $(getconf _NPROCESSORS_ONLN) pgen.3dsx

- name: Build pnes
run: |
mkdir cmake-build-pnes && cd cmake-build-pnes
source /etc/profile.d/devkit-env.sh
cmake -G "Unix Makefiles" -DPLATFORM_3DS=ON -DOPTION_EMU=pnes \
-DOPTION_MPV_PLAYER=OFF -DCMAKE_BUILD_TYPE=Debug ..
make -j $(getconf _NPROCESSORS_ONLN) pnes.3dsx

# too slow for 3ds for now...
#- name: Build psnes
#run: |
#mkdir cmake-build-psnes && cd cmake-build-psnes
#source /etc/profile.d/devkit-env.sh
#cmake -G "Unix Makefiles" -DPLATFORM_3DS=ON -DOPTION_MPV_PLAYER=OFF -DOPTION_EMU=psnes -DCMAKE_BUILD_TYPE=Debug ..
#make -j $(getconf _NPROCESSORS_ONLN) psnes.3dsx
cd $GITHUB_WORKSPACE/cmake-build
make pgen.3dsx
43 changes: 8 additions & 35 deletions .github/workflows/3ds-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
tags:
- "v*.*"
workflow_dispatch:

jobs:

Expand All @@ -24,43 +25,15 @@ jobs:
sudo apt -yq update
sudo apt -yq install git build-essential cmake zip

- name: Build pfbneo
- name: Configure
run: |
mkdir cmake-build-pfbneo && cd cmake-build-pfbneo
cd $GITHUB_WORKSPACE
source /etc/profile.d/devkit-env.sh
cmake -G "Unix Makefiles" -DPLATFORM_3DS=ON -DOPTION_EMU=pfbneo \
-DOPTION_LIGHT=ON -DOPTION_MPV_PLAYER=OFF -DCMAKE_BUILD_TYPE=Release ..
make pfbneo.deps
make -j $(getconf _NPROCESSORS_ONLN) pfbneo.3dsx
mkdir cmake-build && cd cmake-build
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release .. \
-DPLATFORM_3DS=ON -DOPTION_LIGHT=ON -DOPTION_MPV_PLAYER=OFF

- name: Build pgen
run: |
mkdir cmake-build-pgen && cd cmake-build-pgen
source /etc/profile.d/devkit-env.sh
cmake -G "Unix Makefiles" -DPLATFORM_3DS=ON -DOPTION_EMU=pgen \
-DOPTION_MPV_PLAYER=OFF -DCMAKE_BUILD_TYPE=Release ..
make -j $(getconf _NPROCESSORS_ONLN) pgen.3dsx

- name: Build pnes
run: |
mkdir cmake-build-pnes && cd cmake-build-pnes
source /etc/profile.d/devkit-env.sh
cmake -G "Unix Makefiles" -DPLATFORM_3DS=ON -DOPTION_EMU=pnes \
-DOPTION_MPV_PLAYER=OFF -DCMAKE_BUILD_TYPE=Release ..
make -j $(getconf _NPROCESSORS_ONLN) pnes.3dsx

# too slow for 3ds for now...
#- name: Build psnes
#run: |
#mkdir cmake-build-psnes && cd cmake-build-psnes
#source /etc/profile.d/devkit-env.sh
#cmake -G "Unix Makefiles" -DPLATFORM_3DS=ON -DOPTION_MPV_PLAYER=OFF -DOPTION_EMU=psnes -DCMAKE_BUILD_TYPE=Release ..
#make -j $(getconf _NPROCESSORS_ONLN) psnes.3dsx

# not ready at all...
#- name: Release
# uses: softprops/action-gh-release@v1
# if: startsWith(github.ref, 'refs/tags/')
# with:
# files: '*.3dsx'
# token: ${{ secrets.GITHUB_TOKEN }}
cd $GITHUB_WORKSPACE/cmake-build
make pgen.3dsx
37 changes: 20 additions & 17 deletions .github/workflows/linux-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,33 +24,36 @@ jobs:
libconfig-dev libglm-dev libfreetype6-dev libpng-dev libminizip-dev zlib1g-dev \
libvdpau-dev libva-dev libavcodec-dev libavfilter-dev libavformat-dev libavutil-dev \
libpostproc-dev libswresample-dev libswscale-dev libmpv-dev libass-dev libbz2-dev \
libfribidi-dev libzip-dev libarchive-dev libfuse-dev
libfribidi-dev libzip-dev libarchive-dev

- name: Build pfbneo
- name: Configure
run: |
cd $GITHUB_WORKSPACE
mkdir cmake-build-pfbneo && cd cmake-build-pfbneo
cmake -G "Unix Makefiles" -DPLATFORM_LINUX=ON -DOPTION_EMU=pfbneo -DCMAKE_BUILD_TYPE=Debug ..
mkdir cmake-build && cd cmake-build
cmake -G "Unix Makefiles" -DPLATFORM_LINUX=ON -DCMAKE_BUILD_TYPE=Debug ..

- name: Build pfbneo
run: |
cd $GITHUB_WORKSPACE/cmake-build
make pfbneo.deps
make -j $(getconf _NPROCESSORS_ONLN) pfbneo
make pfbneo

- name: Build pgen
run: |
cd $GITHUB_WORKSPACE
mkdir cmake-build-pgen && cd cmake-build-pgen
cmake -G "Unix Makefiles" -DPLATFORM_LINUX=ON -DOPTION_EMU=pgen -DCMAKE_BUILD_TYPE=Debug ..
make -j $(getconf _NPROCESSORS_ONLN) pgen
cd $GITHUB_WORKSPACE/cmake-build
make pgen

- name: Build pnes
run: |
cd $GITHUB_WORKSPACE
mkdir cmake-build-pnes && cd cmake-build-pnes
cmake -G "Unix Makefiles" -DPLATFORM_LINUX=ON -DOPTION_EMU=pnes -DCMAKE_BUILD_TYPE=Debug ..
make -j $(getconf _NPROCESSORS_ONLN) pnes
cd $GITHUB_WORKSPACE/cmake-build
make pnes

- name: Build psnes
run: |
cd $GITHUB_WORKSPACE
mkdir cmake-build-psnes && cd cmake-build-psnes
cmake -G "Unix Makefiles" -DPLATFORM_LINUX=ON -DOPTION_EMU=psnes -DCMAKE_BUILD_TYPE=Debug ..
make -j $(getconf _NPROCESSORS_ONLN) psnes
cd $GITHUB_WORKSPACE/cmake-build
make psnes

- name: Build pgba
run: |
cd $GITHUB_WORKSPACE/cmake-build
make pgba
45 changes: 27 additions & 18 deletions .github/workflows/linux-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
tags:
- "v*.*"
workflow_dispatch:

jobs:

Expand All @@ -24,40 +25,48 @@ jobs:
libconfig-dev libglm-dev libfreetype6-dev libpng-dev libminizip-dev zlib1g-dev \
libvdpau-dev libva-dev libavcodec-dev libavfilter-dev libavformat-dev libavutil-dev \
libpostproc-dev libswresample-dev libswscale-dev libmpv-dev libass-dev libbz2-dev \
libfribidi-dev libzip-dev libarchive-dev libfuse-dev
libfribidi-dev libzip-dev libarchive-dev

- name: Configure
run: |
cd $GITHUB_WORKSPACE
mkdir cmake-build && cd cmake-build
cmake -G "Unix Makefiles" -DPLATFORM_LINUX=ON -DCMAKE_BUILD_TYPE=Release ..

- name: Build pfbneo
run: |
mkdir cmake-build-pfbneo && cd cmake-build-pfbneo
cmake -G "Unix Makefiles" -DPLATFORM_LINUX=ON -DOPTION_EMU=pfbneo -DCMAKE_BUILD_TYPE=Release ..
cd $GITHUB_WORKSPACE/cmake-build
make pfbneo.deps
make -j $(getconf _NPROCESSORS_ONLN) pfbneo
mv pfbneo/pfbneo $GITHUB_WORKSPACE/pfbneo-linux
make pfbneo_linux_release
mv *.zip $GITHUB_WORKSPACE

- name: Build pgen
run: |
mkdir cmake-build-pgen && cd cmake-build-pgen
cmake -G "Unix Makefiles" -DPLATFORM_LINUX=ON -DOPTION_EMU=pgen -DCMAKE_BUILD_TYPE=Release ..
make -j $(getconf _NPROCESSORS_ONLN) pgen
mv pgen/pgen $GITHUB_WORKSPACE/pgen-linux
cd $GITHUB_WORKSPACE/cmake-build
make pgen_linux_release
mv *.zip $GITHUB_WORKSPACE

- name: Build pnes
run: |
mkdir cmake-build-pnes && cd cmake-build-pnes
cmake -G "Unix Makefiles" -DPLATFORM_LINUX=ON -DOPTION_EMU=pnes -DCMAKE_BUILD_TYPE=Release ..
make -j $(getconf _NPROCESSORS_ONLN) pnes
mv pnes/pnes $GITHUB_WORKSPACE/pnes-linux
cd $GITHUB_WORKSPACE/cmake-build
make pnes_linux_release
mv *.zip $GITHUB_WORKSPACE

- name: Build psnes
run: |
mkdir cmake-build-psnes && cd cmake-build-psnes
cmake -G "Unix Makefiles" -DPLATFORM_LINUX=ON -DOPTION_EMU=psnes -DCMAKE_BUILD_TYPE=Release ..
make -j $(getconf _NPROCESSORS_ONLN) psnes
mv psnes/psnes $GITHUB_WORKSPACE/psnes-linux
cd $GITHUB_WORKSPACE/cmake-build
make psnes_linux_release
mv *.zip $GITHUB_WORKSPACE

- name: Build pgba
run: |
cd $GITHUB_WORKSPACE/cmake-build
make pgba_linux_release
mv *.zip $GITHUB_WORKSPACE

- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: '*-linux'
files: '*.zip'
token: ${{ secrets.GITHUB_TOKEN }}
38 changes: 19 additions & 19 deletions .github/workflows/ps4-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,35 +27,35 @@ jobs:
sudo pacbrew-pacman -Syu
sudo pacbrew-pacman --noconfirm -S ps4-openorbis ps4-openorbis-portlibs

- name: Build pfbneo
- name: Configure
run: |
cd $GITHUB_WORKSPACE
mkdir cmake-build-pfbneo && cd cmake-build-pfbneo
mkdir cmake-build && cd cmake-build
export OPENORBIS=/opt/pacbrew/ps4/openorbis
cmake -G "Unix Makefiles" -DPLATFORM_PS4=ON -DOPTION_EMU=pfbneo -DCMAKE_BUILD_TYPE=Debug ..
cmake -G "Unix Makefiles" -DPLATFORM_PS4=ON -DCMAKE_BUILD_TYPE=Debug ..

- name: Build pfbneo
run: |
cd $GITHUB_WORKSPACE/cmake-build
make pfbneo.deps
make -j $(getconf _NPROCESSORS_ONLN) pfbneo_pkg
make pfbneo_pkg

- name: Build pgen
run: |
cd $GITHUB_WORKSPACE
mkdir cmake-build-pgen && cd cmake-build-pgen
export OPENORBIS=/opt/pacbrew/ps4/openorbis
cmake -G "Unix Makefiles" -DPLATFORM_PS4=ON -DOPTION_EMU=pgen -DCMAKE_BUILD_TYPE=Debug ..
make -j $(getconf _NPROCESSORS_ONLN) pgen_pkg
cd $GITHUB_WORKSPACE/cmake-build
make pgen_pkg

- name: Build pnes
run: |
cd $GITHUB_WORKSPACE
mkdir cmake-build-pnes && cd cmake-build-pnes
export OPENORBIS=/opt/pacbrew/ps4/openorbis
cmake -G "Unix Makefiles" -DPLATFORM_PS4=ON -DOPTION_EMU=pnes -DCMAKE_BUILD_TYPE=Debug ..
make -j $(getconf _NPROCESSORS_ONLN) pnes_pkg
cd $GITHUB_WORKSPACE/cmake-build
make pnes_pkg

- name: Build psnes
run: |
cd $GITHUB_WORKSPACE
mkdir cmake-build-psnes && cd cmake-build-psnes
export OPENORBIS=/opt/pacbrew/ps4/openorbis
cmake -G "Unix Makefiles" -DPLATFORM_PS4=ON -DOPTION_EMU=psnes -DCMAKE_BUILD_TYPE=Debug ..
make -j $(getconf _NPROCESSORS_ONLN) psnes_pkg
cd $GITHUB_WORKSPACE/cmake-build
make psnes_pkg

- name: Build pgba
run: |
cd $GITHUB_WORKSPACE/cmake-build
make pgba_pkg
38 changes: 22 additions & 16 deletions .github/workflows/ps4-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
tags:
- "v*.*"
workflow_dispatch:

jobs:

Expand All @@ -27,37 +28,42 @@ jobs:
sudo pacbrew-pacman -Syu
sudo pacbrew-pacman --noconfirm -S ps4-openorbis ps4-openorbis-portlibs

- name: Build pfbneo
- name: Configure
run: |
mkdir cmake-build-pfbneo && cd cmake-build-pfbneo
cd $GITHUB_WORKSPACE
mkdir cmake-build && cd cmake-build
export OPENORBIS=/opt/pacbrew/ps4/openorbis
cmake -G "Unix Makefiles" -DPLATFORM_PS4=ON -DOPTION_EMU=pfbneo -DCMAKE_BUILD_TYPE=Release ..
cmake -G "Unix Makefiles" -DPLATFORM_PS4=ON -DCMAKE_BUILD_TYPE=Release ..

- name: Build pfbneo
run: |
cd $GITHUB_WORKSPACE/cmake-build
make pfbneo.deps
make -j $(getconf _NPROCESSORS_ONLN) pfbneo_pkg
make pfbneo_pkg
mv *.pkg $GITHUB_WORKSPACE

- name: Build pgen
run: |
mkdir cmake-build-pgen && cd cmake-build-pgen
export OPENORBIS=/opt/pacbrew/ps4/openorbis
cmake -G "Unix Makefiles" -DPLATFORM_PS4=ON -DOPTION_EMU=pgen -DCMAKE_BUILD_TYPE=Release ..
make -j $(getconf _NPROCESSORS_ONLN) pgen_pkg
cd $GITHUB_WORKSPACE/cmake-build
make pgen_pkg
mv *.pkg $GITHUB_WORKSPACE

- name: Build pnes
run: |
mkdir cmake-build-pnes && cd cmake-build-pnes
export OPENORBIS=/opt/pacbrew/ps4/openorbis
cmake -G "Unix Makefiles" -DPLATFORM_PS4=ON -DOPTION_EMU=pnes -DCMAKE_BUILD_TYPE=Release ..
make -j $(getconf _NPROCESSORS_ONLN) pnes_pkg
cd $GITHUB_WORKSPACE/cmake-build
make pnes_pkg
mv *.pkg $GITHUB_WORKSPACE

- name: Build psnes
run: |
mkdir cmake-build-psnes && cd cmake-build-psnes
export OPENORBIS=/opt/pacbrew/ps4/openorbis
cmake -G "Unix Makefiles" -DPLATFORM_PS4=ON -DOPTION_EMU=psnes -DCMAKE_BUILD_TYPE=Release ..
make -j $(getconf _NPROCESSORS_ONLN) psnes_pkg
cd $GITHUB_WORKSPACE/cmake-build
make psnes_pkg
mv *.pkg $GITHUB_WORKSPACE

- name: Build pgba
run: |
cd $GITHUB_WORKSPACE/cmake-build
make pgba_pkg
mv *.pkg $GITHUB_WORKSPACE

- name: Release
Expand Down
Loading
Loading