diff options
| author | cadmic <cadmic24@gmail.com> | 2024-02-07 07:41:12 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-07 10:41:12 -0500 |
| commit | be4f3142e046486b8f989a040be6a0c7fed2cca3 (patch) | |
| tree | deeeb4283f4a8ec95b7651dc3a31c831c60fc51c /include | |
| parent | 300b3a8ffdb852f3da26eff8ad1b7e25e1a864e0 (diff) | |
Match retail z_sram.c (#1722)
Diffstat (limited to 'include')
| -rw-r--r-- | include/functions.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/functions.h b/include/functions.h index d8d09222c..a7cf8c2eb 100644 --- a/include/functions.h +++ b/include/functions.h @@ -1155,10 +1155,10 @@ void Sram_WriteSramHeader(SramContext* sramCtx); void Sram_InitSram(GameState* gameState, SramContext* sramCtx); void Sram_Alloc(GameState* gameState, SramContext* sramCtx); void Sram_Init(PlayState* play, SramContext* sramCtx); -void SsSram_Init(u32 addr, u8 handleType, u8 handleDomain, u8 handleLatency, u8 handlePageSize, u8 handleRelDuration, +void SsSram_Init(s32 addr, u8 handleType, u8 handleDomain, u8 handleLatency, u8 handlePageSize, u8 handleRelDuration, u8 handlePulse, u32 handleSpeed); void SsSram_Dma(void* dramAddr, size_t size, s32 direction); -void SsSram_ReadWrite(u32 addr, void* dramAddr, size_t size, s32 direction); +void SsSram_ReadWrite(s32 addr, void* dramAddr, size_t size, s32 direction); View* View_New(GraphicsContext* gfxCtx); void View_Free(View* view); void View_Init(View*, GraphicsContext*); |
