Fix libretro
This commit is contained in:
parent
0c91502859
commit
05cf3656b8
1
.github/workflows/sanity.yml
vendored
1
.github/workflows/sanity.yml
vendored
@ -3,6 +3,7 @@ on: push
|
||||
|
||||
jobs:
|
||||
sanity:
|
||||
fail-fast: false
|
||||
strategy:
|
||||
matrix:
|
||||
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/save_state.c \
|
||||
$(CORE_DIR)/Core/random.c \
|
||||
$(CORE_DIR)/Core/rumble.c \
|
||||
$(CORE_DIR)/libretro/agb_boot.c \
|
||||
$(CORE_DIR)/libretro/cgb_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_apu_set_sample_callback(&gameboy[i], audio_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 */
|
||||
|
Loading…
Reference in New Issue
Block a user