Removed broken refs to fix -nix build

This commit is contained in:
=
2025-04-19 23:50:03 -07:00
parent 6ae813f8ab
commit 4c20994d59
3 changed files with 1 additions and 6 deletions

View File

@@ -1807,7 +1807,7 @@ load_keybinds(void)
{ {
p = ini_section_get_string(cat, acc_keys[x].name, "none"); p = ini_section_get_string(cat, acc_keys[x].name, "none");
// If there's no binding in the file, leave it alone. // If there's no binding in the file, leave it alone.
if (p != "none") if (strcmp(p, "none") != 0)
{ {
// It would be ideal to validate whether the user entered a // It would be ideal to validate whether the user entered a
// valid combo at this point, but the Qt method for testing that is // valid combo at this point, but the Qt method for testing that is
@@ -2553,7 +2553,6 @@ static void
save_keybinds(void) save_keybinds(void)
{ {
ini_section_t cat = ini_find_or_create_section(config, "Keybinds"); ini_section_t cat = ini_find_or_create_section(config, "Keybinds");
char temp[512];
for(int x=0;x<NUM_ACCELS;x++) for(int x=0;x<NUM_ACCELS;x++)
{ {

View File

@@ -283,7 +283,6 @@ extern int keyboard_isfsenter(void);
extern int keyboard_isfsenter_up(void); extern int keyboard_isfsenter_up(void);
extern int keyboard_isfsexit(void); extern int keyboard_isfsexit(void);
extern int keyboard_isfsexit_up(void); extern int keyboard_isfsexit_up(void);
extern int keyboard_ismsexit(void);
extern void keyboard_set_is_amstrad(int ams); extern void keyboard_set_is_amstrad(int ams);
extern void kbc_at_set_ps2(void *priv, uint8_t ps2); extern void kbc_at_set_ps2(void *priv, uint8_t ps2);
extern void kbc_at_write_p(void *priv, uint8_t port, uint8_t mask, uint8_t val); extern void kbc_at_write_p(void *priv, uint8_t port, uint8_t mask, uint8_t val);

View File

@@ -1338,9 +1338,6 @@ main(int argc, char **argv)
} }
} }
} }
if (mouse_capture && keyboard_ismsexit()) {
plat_mouse_capture(0);
}
if (blitreq) { if (blitreq) {
extern void sdl_blit(int x, int y, int w, int h); extern void sdl_blit(int x, int y, int w, int h);
sdl_blit(params.x, params.y, params.w, params.h); sdl_blit(params.x, params.y, params.w, params.h);