-
Notifications
You must be signed in to change notification settings - Fork 753
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
PSP port #1918
Closed
Closed
PSP port #1918
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
61aebc1
Initial PSP port. Includes the pipeline to build
stefanmielke bffa425
Using SDL_Main instead; removed custom definition from psp_defs.cmake…
stefanmielke 949afbf
fix need to alter psptoolchain's SDL_config.h to compile
stefanmielke cd4c65c
adding psp to circleci config
stefanmielke aa76765
forcing only PSP for now
stefanmielke 5c445ae
setting build.sh to be run from root folder
stefanmielke 24ad192
fixing circleci build for psp
stefanmielke f49b551
adding back other circleci jobs
stefanmielke 5f5321a
fix config.yml indentation
stefanmielke 58e5b18
changes made to boot the game, up until showing the intro or menu if …
stefanmielke 392d8da
Reducing resolution, adding back streaming music and sounds (still di…
stefanmielke 703d7c1
Using sprintf to replace snprintf (and removed custom implementation)…
stefanmielke 87a6641
Rollback of changes in SFileOpenArchive.cpp
stefanmielke 751197e
Rollback of changes in init.cpp
stefanmielke 79ddbff
Rollback of changes in FileStream.cpp
stefanmielke c04de03
Rollback of more changes in SFileOpenArchive.cpp
stefanmielke d762a2b
Rollback of more style changes
stefanmielke 3cef15a
Putting back SetApplicationVersions()
stefanmielke 0192517
fix icon and background; set base path as ms0:/PSP/GAME/DevilutionX/;…
stefanmielke 94e3168
Merge branch 'master' into psp
stefanmielke 633e459
Merge branch 'master' into psp
stefanmielke 0794731
adding back miniwin.h to fix SDL_snprintf redirect for PSP
stefanmielke 76437aa
Removed workarounds on CMakeLists.txt
stefanmielke ce11c9e
Merge branch 'master' into psp
stefanmielke File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#General compilation options | ||
set(NONET ON) | ||
set(USE_SDL1 ON) | ||
set(NOSOUND ON) | ||
|
||
#Force scaling, for now.. | ||
# set(SDL1_VIDEO_MODE_FLAGS SDL_FULLSCREEN) | ||
set(SDL1_VIDEO_MODE_BPP 8) | ||
set(DEFAULT_WIDTH 480) | ||
set(DEFAULT_HEIGHT 272) | ||
|
||
#SDL Joystick axis mapping (analog) | ||
set(JOY_AXIS_LEFTX 0) | ||
set(JOY_AXIS_LEFTY 1) | ||
#SDL Joystick button mapping | ||
set(JOY_BUTTON_B 1) | ||
set(JOY_BUTTON_A 2) | ||
set(JOY_BUTTON_X 3) | ||
set(JOY_BUTTON_Y 0) | ||
set(JOY_BUTTON_LEFTSHOULDER 4) | ||
set(JOY_BUTTON_RIGHTSHOULDER 5) | ||
set(JOY_BUTTON_BACK 10) | ||
set(JOY_BUTTON_START 11) | ||
set(JOY_BUTTON_DPAD_UP 8) | ||
set(JOY_BUTTON_DPAD_DOWN 6) | ||
set(JOY_BUTTON_DPAD_LEFT 7) | ||
set(JOY_BUTTON_DPAD_RIGHT 9) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
# Building for PSP | ||
|
||
Install psptoolchain from https://github.com/pspdev/psptoolchain | ||
|
||
It should have set the ENV var "PSPDEV" to "/usr/local/pspdev" and added "$PSPDEV/bin" to PATH automatically. If not, just do it as stated on the github page. | ||
|
||
After that you should run build.sh from this folder ("Packaging/psp)" and it will put EBOOT.PBP under "build/". |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# workaround until we find the real way to change -llibpthreads to -llibpthread-psp | ||
cp ${PSPDEV}/psp/lib/libpthread-psp.a ${PSPDEV}/psp/lib/libpthreads.a | ||
|
||
cmake . -DPSP=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=${PSPDEV}/psp/share/cmake/PSP.cmake | ||
make |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this needed? These look like the defaults for an unknown platform