duckstation

duckstation, but archived from the revision just before upstream changed it to a proprietary software project, this version is the libre one
git clone https://git.neptards.moe/u3shit/duckstation.git
Log | Files | Refs | README | LICENSE

mdec.h (511B)


      1 // SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
      2 // SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
      3 
      4 #pragma once
      5 #include "types.h"
      6 
      7 class StateWrapper;
      8 
      9 namespace MDEC {
     10 
     11 void Initialize();
     12 void Shutdown();
     13 void Reset();
     14 bool DoState(StateWrapper& sw);
     15 
     16 // I/O
     17 u32 ReadRegister(u32 offset);
     18 void WriteRegister(u32 offset, u32 value);
     19 
     20 void DMARead(u32* words, u32 word_count);
     21 void DMAWrite(const u32* words, u32 word_count);
     22 
     23 void DrawDebugStateWindow();
     24 
     25 } // namespace MDEC