mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-21 12:21:50 +02:00
Fix libretro
This commit is contained in:
1
.github/workflows/sanity.yml
vendored
1
.github/workflows/sanity.yml
vendored
@@ -3,6 +3,7 @@ on: push
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
sanity:
|
sanity:
|
||||||
|
fail-fast: false
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [macos-latest, ubuntu-latest, ubuntu-16.04]
|
os: [macos-latest, ubuntu-latest, ubuntu-16.04]
|
||||||
|
@@ -13,6 +13,7 @@ SOURCES_C := $(CORE_DIR)/Core/gb.c \
|
|||||||
$(CORE_DIR)/Core/joypad.c \
|
$(CORE_DIR)/Core/joypad.c \
|
||||||
$(CORE_DIR)/Core/save_state.c \
|
$(CORE_DIR)/Core/save_state.c \
|
||||||
$(CORE_DIR)/Core/random.c \
|
$(CORE_DIR)/Core/random.c \
|
||||||
|
$(CORE_DIR)/Core/rumble.c \
|
||||||
$(CORE_DIR)/libretro/agb_boot.c \
|
$(CORE_DIR)/libretro/agb_boot.c \
|
||||||
$(CORE_DIR)/libretro/cgb_boot.c \
|
$(CORE_DIR)/libretro/cgb_boot.c \
|
||||||
$(CORE_DIR)/libretro/dmg_boot.c \
|
$(CORE_DIR)/libretro/dmg_boot.c \
|
||||||
|
@@ -376,6 +376,7 @@ static void init_for_current_model(unsigned id)
|
|||||||
GB_set_sample_rate(&gameboy[i], AUDIO_FREQUENCY);
|
GB_set_sample_rate(&gameboy[i], AUDIO_FREQUENCY);
|
||||||
GB_apu_set_sample_callback(&gameboy[i], audio_callback);
|
GB_apu_set_sample_callback(&gameboy[i], audio_callback);
|
||||||
GB_set_rumble_callback(&gameboy[i], rumble_callback);
|
GB_set_rumble_callback(&gameboy[i], rumble_callback);
|
||||||
|
GB_set_rumble_mode(&gameboy[i], GB_RUMBLE_CARTRIDGE_ONLY);
|
||||||
|
|
||||||
|
|
||||||
/* todo: attempt to make these more generic */
|
/* todo: attempt to make these more generic */
|
||||||
|
Reference in New Issue
Block a user