Skip to content

Commit

Permalink
SVN r4483
Browse files Browse the repository at this point in the history
Fix compilation in Visual Studio 2008.
  • Loading branch information
Allofich committed Sep 3, 2024
1 parent 18a57df commit 9225478
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ NEXT
- properties/help: sorted alphabetically, mouse wheel scrollable
- remove few rendundant labels, adjust names of some others
- retain 'show advanced options' state throughout session
- SVN r4483: Fix compilation in Visual Studio 2008. (Allofich)

2024.07.01
- Correct Hercules InColor memory emulation. Read and write planar
Expand Down
1 change: 1 addition & 0 deletions src/hardware/mame/saa1099.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ saa1099_device::saa1099_device(const machine_config &mconfig, const char *tag, d
, m_sync_state(0)
, m_selected_reg(0)
, m_sample_rate(0.0)
, sample_rate(clock / 256)
{
FILL_ARRAY( m_noise_params );
FILL_ARRAY( m_env_enable );
Expand Down
2 changes: 1 addition & 1 deletion src/hardware/mame/saa1099.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class saa1099_device : public device_t,

DECLARE_WRITE8_MEMBER( write );

uint32_t sample_rate = clock() / 256;
uint32_t sample_rate;

//protected:
// device-level overrides
Expand Down

0 comments on commit 9225478

Please sign in to comment.