dungeonrush: Fix typo in patches

This commit is contained in:
Ben Wiederhake 2023-05-06 16:40:21 +02:00 committed by Jelle Raaijmakers
parent ee47c0275e
commit d5f8dac2bd
Notes: sideshowbarker 2024-07-17 06:40:21 +09:00
3 changed files with 4 additions and 4 deletions

View file

@ -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 @@

View file

@ -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];

View file

@ -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`