Skip to content

PS2 games in the browser: static recompilation to WebAssembly with a native runtime

C++
374 B
Raw Blame
#pragma once

#include <cstdint>

namespace ps2::state {
class Stream;
}

namespace ps2::dmac {

void state(ps2::state::Stream &s);

void reset();
void stats();
bool owns(std::uint32_t a);
std::uint32_t read(std::uint32_t a);
void write(std::uint32_t a, std::uint32_t v);
void resume(int ch);
bool ipu_pull(std::uint8_t *qword);
bool ipu_push(const std::uint8_t *qword);

}