mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-25 15:35:38 +00:00
MAME: removing old mame files [skip ci]
This commit is contained in:
parent
8abcad321a
commit
6e411ddfc4
|
@ -1312,6 +1312,7 @@ modules:
|
||||||
# buildsystem: simple
|
# buildsystem: simple
|
||||||
# build-commands:
|
# build-commands:
|
||||||
# - cp -rn files/* /app
|
# - cp -rn files/* /app
|
||||||
|
# - COPY THE CONFIGS? MAYBE NOT
|
||||||
# sources:
|
# sources:
|
||||||
# - type: archive
|
# - type: archive
|
||||||
# url:
|
# url:
|
||||||
|
|
|
@ -1,41 +0,0 @@
|
||||||
diff --git a/src/devices/imagedev/floppy.cpp b/src/devices/imagedev/floppy.cpp
|
|
||||||
index 3c00336d..cda94d92 100644
|
|
||||||
--- a/src/devices/imagedev/floppy.cpp
|
|
||||||
+++ b/src/devices/imagedev/floppy.cpp
|
|
||||||
@@ -1707,9 +1707,10 @@ void floppy_sound_device::sound_stream_update(sound_stream &stream, std::vector<
|
|
||||||
{
|
|
||||||
idx = m_spin_playback_sample;
|
|
||||||
sampleend = m_sample[idx].data.size();
|
|
||||||
- out = m_sample[idx].data[m_spin_samplepos++];
|
|
||||||
-
|
|
||||||
- if (m_spin_samplepos >= sampleend)
|
|
||||||
+ m_spin_samplepos++;
|
|
||||||
+ if (m_spin_samplepos < sampleend)
|
|
||||||
+ out = m_sample[idx].data[m_spin_samplepos];
|
|
||||||
+ else
|
|
||||||
{
|
|
||||||
// Motor sample has completed
|
|
||||||
switch (m_spin_playback_sample)
|
|
||||||
@@ -1763,7 +1764,8 @@ void floppy_sound_device::sound_stream_update(sound_stream &stream, std::vector<
|
|
||||||
idx = m_step_base + m_seek_playback_sample;
|
|
||||||
sampleend = m_sample[idx].data.size();
|
|
||||||
// Mix it into the stream value
|
|
||||||
- out += m_sample[idx].data[(int)m_seek_samplepos];
|
|
||||||
+ if (m_seek_samplepos < sampleend)
|
|
||||||
+ out += m_sample[idx].data[(int)m_seek_samplepos];
|
|
||||||
// By adding different values than 1, we can change the playback speed
|
|
||||||
// This will be used to adjust the seek sound
|
|
||||||
m_seek_samplepos += m_seek_pitch;
|
|
||||||
@@ -1781,8 +1783,10 @@ void floppy_sound_device::sound_stream_update(sound_stream &stream, std::vector<
|
|
||||||
sampleend = m_sample[idx].data.size();
|
|
||||||
|
|
||||||
// Mix it into the stream value
|
|
||||||
- out += m_sample[idx].data[m_step_samplepos++];
|
|
||||||
- if (m_step_samplepos >= sampleend)
|
|
||||||
+ m_step_samplepos++;
|
|
||||||
+ if (m_step_samplepos < sampleend)
|
|
||||||
+ out += m_sample[idx].data[m_step_samplepos];
|
|
||||||
+ else
|
|
||||||
{
|
|
||||||
// Step sample done
|
|
||||||
m_step_samplepos = 0;
|
|
|
@ -1,33 +0,0 @@
|
||||||
#
|
|
||||||
# CORE SEARCH PATH OPTIONS
|
|
||||||
#
|
|
||||||
homepath $HOME/.mame
|
|
||||||
rompath /app/share/mame/roms
|
|
||||||
hashpath /app/share/mame/hash
|
|
||||||
samplepath /app/share/mame/samples
|
|
||||||
artpath /app/share/mame/artwork
|
|
||||||
ctrlrpath /app/share/mame/ctrlr
|
|
||||||
inipath $HOME/.mame;/app/share/mame/ini
|
|
||||||
fontpath /app/bin/
|
|
||||||
cheatpath /app/share/mame/cheat
|
|
||||||
crosshairpath /app/share/mame/crosshair
|
|
||||||
pluginspath /app/share/mame/plugins
|
|
||||||
languagepath /app/share/mame/language
|
|
||||||
swpath /app/share/mame/software
|
|
||||||
|
|
||||||
#
|
|
||||||
# CORE OUTPUT DIRECTORY OPTIONS
|
|
||||||
#
|
|
||||||
cfg_directory $HOME/.mame/cfg
|
|
||||||
nvram_directory $HOME/.mame/nvram
|
|
||||||
input_directory $HOME/.mame/inp
|
|
||||||
state_directory $HOME/.mame/sta
|
|
||||||
snapshot_directory $HOME/.mame/snap
|
|
||||||
diff_directory $HOME/.mame/diff
|
|
||||||
comment_directory $HOME/.mame/comments
|
|
||||||
share_directory $HOME/.mame/share
|
|
||||||
|
|
||||||
#
|
|
||||||
# OSD VIDEO OPTIONS
|
|
||||||
#
|
|
||||||
video opengl
|
|
|
@ -1,28 +0,0 @@
|
||||||
diff --git a/src/emu/sound.cpp b/src/emu/sound.cpp
|
|
||||||
index a0293063..c4989abb 100644
|
|
||||||
--- a/src/emu/sound.cpp
|
|
||||||
+++ b/src/emu/sound.cpp
|
|
||||||
@@ -761,6 +761,9 @@ read_stream_view sound_stream::update_view(attotime start, attotime end, u32 out
|
|
||||||
}
|
|
||||||
g_profiler.stop();
|
|
||||||
|
|
||||||
+ if (!m_output_view[outputnum].valid())
|
|
||||||
+ m_output_view[outputnum] = empty_view(start, end);
|
|
||||||
+
|
|
||||||
// return the requested view
|
|
||||||
return read_stream_view(m_output_view[outputnum], start);
|
|
||||||
}
|
|
||||||
diff --git a/src/emu/sound.h b/src/emu/sound.h
|
|
||||||
index 15f6a574..bfa45c45 100644
|
|
||||||
--- a/src/emu/sound.h
|
|
||||||
+++ b/src/emu/sound.h
|
|
||||||
@@ -284,6 +284,9 @@ public:
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
|
|
||||||
+ // check basic constraints
|
|
||||||
+ bool valid() const { return m_buffer != nullptr; }
|
|
||||||
+
|
|
||||||
// return the local gain
|
|
||||||
sample_t gain() const { return m_gain; }
|
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
diff --git a/src/devices/machine/ym3802.cpp b/src/devices/machine/ym3802.cpp
|
|
||||||
index 4a8f6a7ffae..d1bf2b961f6 100644
|
|
||||||
--- a/src/devices/machine/ym3802.cpp
|
|
||||||
+++ b/src/devices/machine/ym3802.cpp
|
|
||||||
@@ -45,7 +45,7 @@ void ym3802_device::device_start()
|
|
||||||
|
|
||||||
void ym3802_device::device_reset()
|
|
||||||
{
|
|
||||||
- m_reg.clear();
|
|
||||||
+ m_reg.assign(REG_MAX, 0);
|
|
||||||
reset_irq(0xff);
|
|
||||||
transmit_register_reset();
|
|
||||||
receive_register_reset();
|
|
Loading…
Reference in a new issue