Skip to content

Commit

Permalink
Add changelog entry, rename define, add new ports.
Browse files Browse the repository at this point in the history
  • Loading branch information
AliceLR committed Dec 6, 2023
1 parent 01eb6a2 commit 0bf3eb5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
1 change: 1 addition & 0 deletions docs/changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ USERS
FWRITE_APPEND) is now stored in save files. This fixes a bug
where the output file would be reopened in the wrong mode (ab)
when reloading a saved game.
+ save_slots is now enabled by default for consoles. (Spectere)
+ editor_show_thing_toggles is now enabled by default.
- board_editor_hide_help and robot_editor_hide_help are no
longer enabled by default for accessibility.
Expand Down
21 changes: 12 additions & 9 deletions src/configure.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,25 +52,26 @@
#ifdef CONFIG_NDS
#define VIDEO_OUTPUT_DEFAULT "nds"
#define VIDEO_RATIO_DEFAULT RATIO_CLASSIC_4_3
#define SAVE_SLOTS true
#define SAVE_SLOTS_DEFAULT true
#endif

#ifdef CONFIG_DREAMCAST
#define VIDEO_OUTPUT_DEFAULT "dreamcast"
#define SAVE_SLOTS_DEFAULT true
#endif

#ifdef CONFIG_GP2X
#define VIDEO_OUTPUT_DEFAULT "gp2x"
#define AUDIO_BUFFER_SAMPLES 128
#define SAVE_SLOTS true
#define SAVE_SLOTS_DEFAULT true
#endif

#ifdef CONFIG_PSP
#define FULLSCREEN_WIDTH_DEFAULT 640
#define FULLSCREEN_HEIGHT_DEFAULT 363
#define FORCE_BPP_DEFAULT 8
#define FULLSCREEN_DEFAULT 1
#define SAVE_SLOTS true
#define SAVE_SLOTS_DEFAULT true
#endif

#ifdef CONFIG_PSVITA
Expand All @@ -80,14 +81,15 @@
#define FULLSCREEN_DEFAULT 1
#define VFS_ENABLE_DEFAULT true
#define VFS_MAX_CACHE_SIZE_DEFAULT (1 << 27) /* 128 MiB */
#define SAVE_SLOTS_DEFAULT true
#endif

#ifdef CONFIG_WII
#define AUDIO_SAMPLE_RATE 48000
#define FULLSCREEN_DEFAULT 1
#define GL_VSYNC_DEFAULT 1
#define VIDEO_RATIO_DEFAULT RATIO_CLASSIC_4_3
#define SAVE_SLOTS true
#define SAVE_SLOTS_DEFAULT true
#ifdef CONFIG_SDL
#define VIDEO_OUTPUT_DEFAULT "software"
#define FULLSCREEN_WIDTH_DEFAULT 640
Expand All @@ -100,21 +102,22 @@
#define VIDEO_RATIO_DEFAULT RATIO_CLASSIC_4_3
#define VFS_ENABLE_DEFAULT true
#define VFS_MAX_CACHE_SIZE_DEFAULT (1 << 25) /* 32 MiB */
#define SAVE_SLOTS_DEFAULT true
#endif

#ifdef CONFIG_WIIU
#define FULLSCREEN_WIDTH_DEFAULT 1280
#define FULLSCREEN_HEIGHT_DEFAULT 720
#define FULLSCREEN_DEFAULT 1
#define SAVE_SLOTS true
#define SAVE_SLOTS_DEFAULT true
#endif

#ifdef CONFIG_SWITCH
// Switch SDL needs this resolution or else weird things start happening...
#define FULLSCREEN_WIDTH_DEFAULT 1920
#define FULLSCREEN_HEIGHT_DEFAULT 1080
#define FULLSCREEN_DEFAULT 1
#define SAVE_SLOTS true
#define SAVE_SLOTS_DEFAULT true
#endif

#ifdef ANDROID
Expand Down Expand Up @@ -206,8 +209,8 @@
#define AUTO_DECRYPT_WORLDS true
#endif

#ifndef SAVE_SLOTS
#define SAVE_SLOTS false
#ifndef SAVE_SLOTS_DEFAULT
#define SAVE_SLOTS_DEFAULT false
#endif

#ifdef CONFIG_UPDATER
Expand Down Expand Up @@ -303,7 +306,7 @@ static const struct config_info user_conf_default =
false, // no_titlescreen
false, // system_mouse
false, // grab_mouse
SAVE_SLOTS, // save_slots
SAVE_SLOTS_DEFAULT, // save_slots
"%w.", // save_slots_name
".sav", // save_slots_ext

Expand Down

0 comments on commit 0bf3eb5

Please sign in to comment.