diff options
author | spider-mario | 2020-05-21 13:05:39 +0200 |
---|---|---|
committer | spider-mario | 2020-05-21 13:05:39 +0200 |
commit | 03df81c221a759be58691b0e2fb0331598bb820f (patch) | |
tree | a61e81e8e3d01bc954038dab574a57b991f1abc7 /fix-build.patch | |
parent | aeaf060fcd9751edbdd1b6c743834374224b9103 (diff) | |
download | aur-03df81c221a759be58691b0e2fb0331598bb820f.tar.gz |
Fix the build
Diffstat (limited to 'fix-build.patch')
-rw-r--r-- | fix-build.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/fix-build.patch b/fix-build.patch new file mode 100644 index 000000000000..9385ddd11384 --- /dev/null +++ b/fix-build.patch @@ -0,0 +1,37 @@ +diff --git a/src/menu.c b/src/menu.c +index 9355d01..9ebc1eb 100644 +--- a/src/menu.c ++++ b/src/menu.c +@@ -117,7 +117,6 @@ int active_settings_subsection = 0; + int highlighted_settings_subsection = 0; + int scroll_position = 0; + int menu_control_y; +-int menu_control_scroll_y; + int menu_control_x; + int menu_control_back; + +diff --git a/src/seg001.c b/src/seg001.c +index 33dca45..c07214b 100644 +--- a/src/seg001.c ++++ b/src/seg001.c +@@ -47,8 +47,6 @@ SDL_COMPILE_TIME_ASSERT(hof_size, sizeof(hof_type) == 29); + #pragma pack(pop) + + #define MAX_HOF_COUNT 6 +-// data:405E +-short hof_count; + // data:589A + hof_type hof[MAX_HOF_COUNT]; + +diff --git a/src/seg009.c b/src/seg009.c +index 7d4a9e6..8961445 100644 +--- a/src/seg009.c ++++ b/src/seg009.c +@@ -1943,7 +1943,6 @@ void init_digi() { + + const int sound_channel = 0; + const int max_sound_id = 58; +-char** sound_names = NULL; + + void load_sound_names() { + const char* names_path = locate_file("data/music/names.txt"); |