mirror of
https://github.com/SourMesen/Mesen2.git
synced 2025-04-02 10:21:44 -04:00
-ADPCM edge cases work better (reset, length latching, dma, etc.) -BRAM unlocking/locking fixes -Read ToC command returns the correct amount of data -SCSI data port returns the drive's reply whenever a reply is being read, regardless of the value written to the port through $1801 -Implemented/fixed audio sample read behavior (latching, L/R toggle) -Fixed missing (unused) readable/writable bits in some registes All of these fixes are based on the test results from krikzz's test rom here: https://github.com/krikzz/turbo-ed-pro-pub/tree/main/tcd-verificator
23 lines
No EOL
458 B
C++
23 lines
No EOL
458 B
C++
#pragma once
|
|
#include "pch.h"
|
|
#include "PCE/PceTypes.h"
|
|
#include "Utilities/ISerializable.h"
|
|
|
|
class PceConsole;
|
|
|
|
class PceAudioFader : public ISerializable
|
|
{
|
|
private:
|
|
PceConsole* _console = nullptr;
|
|
PceAudioFaderState _state = {};
|
|
|
|
public:
|
|
PceAudioFader(PceConsole* console);
|
|
|
|
PceAudioFaderState& GetState() { return _state; }
|
|
|
|
uint8_t Read();
|
|
void Write(uint8_t value);
|
|
double GetVolume(PceAudioFaderTarget target);
|
|
void Serialize(Serializer& s);
|
|
}; |