Skip to content

Commit

Permalink
Merge pull request #31 from ehmry/master
Browse files Browse the repository at this point in the history
Report audio sample rate as zero
  • Loading branch information
hizzlekizzle committed Mar 26, 2019
2 parents bc05dc6 + 039966c commit b8d222a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Makefile.common
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
LIBRETRO_COMM_DIR := $(CORE_DIR)/libretro-common
ifeq ($(LIBRETRO_COMM_DIR),)
LIBRETRO_COMM_DIR := $(CORE_DIR)/libretro-common
endif

INCFLAGS :=

Expand Down
3 changes: 3 additions & 0 deletions Tupfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
TARGET_NAME = 2048
CORE_DIR = $(TUP_CWD)
include_rules
2 changes: 1 addition & 1 deletion libretro.c
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ void retro_get_system_info(struct retro_system_info *info)
void retro_get_system_av_info(struct retro_system_av_info *info)
{
info->timing.fps = 60.0;
info->timing.sample_rate = 30000.0;
info->timing.sample_rate = 0.0;

info->geometry.base_width = SCREEN_WIDTH;
info->geometry.base_height = SCREEN_HEIGHT;
Expand Down

0 comments on commit b8d222a

Please sign in to comment.