Skip to content

Commit

Permalink
Increased sound buffer size to 1Mb, as some games need more than 4K
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioMartin86 committed Sep 10, 2024
1 parent d109ae1 commit 6c87303
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Binary file modified Assets/dll/stella.wbx.zst
Binary file not shown.
4 changes: 3 additions & 1 deletion waterbox/stella/BizhawkInterface.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
#include "M6532.hxx"
#include "TIA.hxx"

#define SOUND_BUFFER_SIZE 1024*1024

uint16_t* soundbuffer;
int nsamples;

Expand Down Expand Up @@ -202,7 +204,7 @@ ECL_EXPORT int stella_init(
fprintf(stderr, "Initializing Stella core...\n");

// Allocating sound buffer
soundbuffer = (uint16_t*) alloc_invisible(4096);
soundbuffer = (uint16_t*) alloc_invisible(SOUND_BUFFER_SIZE);

Settings::Options opts;
_a2600 = MediaFactory::createOSystem();
Expand Down

0 comments on commit 6c87303

Please sign in to comment.