mirror of
https://github.com/ARMSX2/ARMSX1.git
synced 2026-08-24 16:53:35 -07:00
Fix 2 more warnings
This commit is contained in:
@@ -12,7 +12,7 @@ const uint32_t g_psx_bus_region_mask_table[] = {
|
||||
0x7fffffff, 0x1fffffff, 0xffffffff, 0xffffffff
|
||||
};
|
||||
|
||||
psx_bus_t* psx_bus_create() {
|
||||
psx_bus_t* psx_bus_create(void) {
|
||||
return (psx_bus_t*)malloc(sizeof(psx_bus_t));
|
||||
}
|
||||
|
||||
|
||||
@@ -1554,10 +1554,6 @@ static inline uint32_t gte_divide(psx_cpu_t* cpu, uint16_t n, uint16_t d) {
|
||||
return MIN(0x1ffff, res);
|
||||
}
|
||||
|
||||
static inline void psx_gte_i_invalid(psx_cpu_t* cpu) {
|
||||
log_fatal("invalid: Unimplemented GTE instruction %02x, %02x", cpu->opcode & 0x3f, cpu->opcode >> 25);
|
||||
}
|
||||
|
||||
#define I64(v) ((int64_t)v)
|
||||
#define R_TRX cpu->cop2_cr.tr.x
|
||||
#define R_TRY cpu->cop2_cr.tr.y
|
||||
|
||||
Reference in New Issue
Block a user