Skip to content

Commit

Permalink
Update memory.h
Browse files Browse the repository at this point in the history
  • Loading branch information
rtoumazet committed Nov 28, 2024
1 parent 6bd00ee commit d5d1881
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions saturnin/src/memory.h
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ class Memory {
//@{
// Constructors / Destructors
Memory() = delete;
explicit Memory(EmulatorContext* ec) : modules_(ec){};
explicit Memory(EmulatorContext* ec) : modules_(ec) {};
Memory(const Memory&) = delete;
Memory(Memory&&) = delete;
auto operator=(const Memory&) & -> Memory& = delete;
Expand Down Expand Up @@ -1238,17 +1238,7 @@ struct writeCart<u8> {
}
};

////////////////////////////////////////////////////////////////////////////////////////////////////
/// \struct readCdBlock
///
/// \brief CD block read handler.
///
/// \author Runik
/// \date 28/12/2018
///
/// \tparam T type of data to read (u8, u16 or u32).
////////////////////////////////////////////////////////////////////////////////////////////////////

// CD block read handler. T is the type of data to read (u8, u16 or u32).
template<typename T>
struct readCdBlock {
operator Memory::ReadType<T>() const {
Expand Down

0 comments on commit d5d1881

Please sign in to comment.