aboutsummaryrefslogtreecommitdiff
path: root/Emu8000.cpp
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2022-02-05 19:35:07 +0100
committerJavier <dev.git@javispedro.com>2022-02-05 19:35:07 +0100
commitc6228d95afe04aab8ca9b947030679778e228f52 (patch)
treeae36abeb6b7cb60516e20fb781fef06c1a02c775 /Emu8000.cpp
parent774984e2f00b4ea81060adf7a0625706ddaa42a5 (diff)
downloadvmusic-c6228d95afe04aab8ca9b947030679778e228f52.tar.gz
vmusic-c6228d95afe04aab8ca9b947030679778e228f52.zip
fix accidental truncation of sample_count register
Diffstat (limited to 'Emu8000.cpp')
-rw-r--r--Emu8000.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emu8000.cpp b/Emu8000.cpp
index 4e3fd01..8cf471b 100644
--- a/Emu8000.cpp
+++ b/Emu8000.cpp
@@ -84,7 +84,7 @@ typedef PCMOutWin PCMOutBackend;
#define EMU_DEFAULT_SAMPLE_RATE 44100 /* Hz */
#define EMU_NUM_CHANNELS 2
-#define EMU_DEFAULT_ONBOARD_RAM 0x7000U /* KiB */
+#define EMU_DEFAULT_ONBOARD_RAM (8 * 1024) /* KiB */
enum {
EMU_PORT_DATA0 = 0,