dungeonrush: Fix typo in patches
This commit is contained in:
parent
ee47c0275e
commit
d5f8dac2bd
Notes:
sideshowbarker
2024-07-17 06:40:21 +09:00
Author: https://github.com/BenWiederhake Commit: https://github.com/SerenityOS/serenity/commit/d5f8dac2bd Pull-request: https://github.com/SerenityOS/serenity/pull/18682 Reviewed-by: https://github.com/MacDue Reviewed-by: https://github.com/gmta ✅
3 changed files with 4 additions and 4 deletions
|
@ -4,13 +4,13 @@ Date: Wed, 16 Jun 2021 11:23:34 +0200
|
|||
Subject: [PATCH] chdir() to the resource install path at program startup
|
||||
|
||||
The game tries to open its resource files using relative paths, and we
|
||||
install them into /opt, so chdr() there.
|
||||
install them into /opt, so chdir() there.
|
||||
---
|
||||
src/main.c | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/src/main.c b/src/main.c
|
||||
index 8fa842f..e16c35e 100644
|
||||
index 8fa842f951fa2cd0a365623d1b6650c536695f59..e16c35e81cc94af006dbb63b0329a60750bd6846 100644
|
||||
--- a/src/main.c
|
||||
+++ b/src/main.c
|
||||
@@ -12,6 +12,8 @@
|
||||
|
|
|
@ -8,7 +8,7 @@ Subject: [PATCH] Make it use software rendering
|
|||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/src/res.c b/src/res.c
|
||||
index ef4945a..6c46184 100644
|
||||
index ef4945ab4d115c8d2877be4f74b4596e4cb37c77..6c46184f12e006a8a1258df5ed7772aa2407d88b 100644
|
||||
--- a/src/res.c
|
||||
+++ b/src/res.c
|
||||
@@ -89,6 +89,8 @@ Mix_Music *bgms[AUDIO_BGM_SIZE];
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
chdir() to the resource install path at program startup
|
||||
|
||||
The game tries to open its resource files using relative paths, and we
|
||||
install them into /opt, so chdr() there.
|
||||
install them into /opt, so chdir() there.
|
||||
|
||||
## `0002-Make-it-use-software-rendering.patch`
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue