mirror of
https://github.com/ran-j/PS2Recomp.git
synced 2026-09-27 01:03:31 -04:00
c1e98c9398
- Add IOP with RPC handling (handleRPC, LibSd SID) and init/reset using RDRAM - Add IOP audio layer for LibSd RPC (handleLibSdRpc) - Add PS2AudioBackend with VAG decode, onVagTransfer/onSoundCommand, raylib playback - Add PSPadBackend with readState and raylib input - Add IOP RAM mapping in Memory (getIOPRAM) for EE↔IOP access - Add fio syscalls: fioOpen, fioRead, fioWrite, fioClose, fioLseek, fioMkdir - Add VAG accumulation for fio reads (multi-chunk VagAccumEntry) - Add ps2_log.h call-stack logger (tab-indented, Debug only, ps2_log.txt next to exe) - Code generator: emit ps2_log include and PS_LOG_ENTRY for full functions - Recompiler: emit ps2_log include and PS_LOG_ENTRY for stubs - Runtime: print "[PS2 LOG] Logs saved at <path>" on exit (Debug only)
17 lines
246 B
C++
17 lines
246 B
C++
#ifndef PS2_PAD_H
|
|
#define PS2_PAD_H
|
|
|
|
#include <cstddef>
|
|
#include <cstdint>
|
|
|
|
class PSPadBackend
|
|
{
|
|
public:
|
|
PSPadBackend() = default;
|
|
~PSPadBackend() = default;
|
|
|
|
bool readState(int port, int slot, uint8_t *data, size_t size);
|
|
};
|
|
|
|
#endif
|