Skip to content

Commit e7ad2b1

Browse files
committed
fix function definitions to include correct argument types
1 parent 4f4a00f commit e7ad2b1

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/mips/openbios/cdrom/statemachine.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ int cdromRead(int count, void *buffer, uint32_t mode);
3434
int cdromSetMode(uint32_t mode);
3535
int cdromIOVerifier();
3636
int cdromDMAVerifier();
37-
void cdromIOHandler();
38-
void cdromDMAHandler();
37+
void cdromIOHandler(int v);
38+
void cdromDMAHandler(int v);
3939
void getLastCDRomError(uint8_t *err1, uint8_t *err2);
4040
int cdromInnerInit();
4141
enum AutoAckType {

src/mips/openbios/gpu/gpu.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ SOFTWARE.
2929
#include <stdint.h>
3030

3131
void GPU_dw(unsigned x, unsigned y, unsigned w, unsigned h, const void* src);
32-
void GPU_mem2vram();
32+
void GPU_mem2vram(unsigned x, unsigned y, unsigned w, unsigned h, const void *src);
3333
void GPU_send(uint32_t cmd);
3434
int GPU_cw(uint32_t cmd);
3535
void GPU_cwb(uint32_t* cmds, int count);

0 commit comments

Comments
 (0)