mirror of https://github.com/PCSX2/pcsx2.git
21 lines
755 B
C
21 lines
755 B
C
// SPDX-FileCopyrightText: 2002-2024 PCSX2 Dev Team
|
|
// SPDX-License-Identifier: GPL-3.0+
|
|
|
|
#pragma once
|
|
|
|
#include "Common.h"
|
|
|
|
#include "common/SingleRegisterTypes.h"
|
|
|
|
void resetCache();
|
|
void writeCache8(u32 mem, u8 value, bool validPFN = true);
|
|
void writeCache16(u32 mem, u16 value, bool validPFN = true);
|
|
void writeCache32(u32 mem, u32 value, bool validPFN = true);
|
|
void writeCache64(u32 mem, const u64 value, bool validPFN = true);
|
|
void writeCache128(u32 mem, const mem128_t* value, bool validPFN = true);
|
|
u8 readCache8(u32 mem, bool validPFN = true);
|
|
u16 readCache16(u32 mem, bool validPFN = true);
|
|
u32 readCache32(u32 mem, bool validPFN = true);
|
|
u64 readCache64(u32 mem, bool validPFN = true);
|
|
RETURNS_R128 readCache128(u32 mem, bool validPFN = true);
|