removed old explicit type casts (now calling strict func addr arrays)

This commit is contained in:
unknown 2015-01-24 16:01:50 -05:00
parent 587dbbb3ff
commit 87aa0faf17
4 changed files with 16 additions and 16 deletions

View File

@ -443,7 +443,7 @@ DWORD RunInterpreterCPU(DWORD Cycles) {
RDP_LogLoc(*PrgCount);
RSP_LW_IMEM(*PrgCount, &RSPOpC.Hex);
((void (*)()) RSP_Opcode[ RSPOpC.op ])();
RSP_Opcode[ RSPOpC.op ]();
switch (RSP_NextInstruction) {
case NORMAL:

View File

@ -43,11 +43,11 @@ extern BOOL AudioHle, GraphicsHle;
/************************* OpCode functions *************************/
void RSP_Opcode_SPECIAL ( void ) {
((void (*)()) RSP_Special[ RSPOpC.funct ])();
RSP_Special[ RSPOpC.funct ]();
}
void RSP_Opcode_REGIMM ( void ) {
((void (*)()) RSP_RegImm[ RSPOpC.rt ])();
RSP_RegImm[ RSPOpC.rt ]();
}
void RSP_Opcode_J ( void ) {
@ -152,11 +152,11 @@ void RSP_Opcode_LUI (void) {
}
void RSP_Opcode_COP0 (void) {
((void (*)()) RSP_Cop0[ RSPOpC.rs ])();
RSP_Cop0[ RSPOpC.rs ]();
}
void RSP_Opcode_COP2 (void) {
((void (*)()) RSP_Cop2[ RSPOpC.rs ])();
RSP_Cop2[ RSPOpC.rs ]();
}
void RSP_Opcode_LB ( void ) {
@ -204,11 +204,11 @@ void RSP_Opcode_SW ( void ) {
}
void RSP_Opcode_LC2 (void) {
((void (*)()) RSP_Lc2 [ RSPOpC.rd ])();
RSP_Lc2 [ RSPOpC.rd ]();
}
void RSP_Opcode_SC2 (void) {
((void (*)()) RSP_Sc2 [ RSPOpC.rd ])();
RSP_Sc2 [ RSPOpC.rd ]();
}
/********************** R4300i OpCodes: Special **********************/
void RSP_Special_SLL ( void ) {
@ -527,7 +527,7 @@ void RSP_Cop2_CT (void) {
}
void RSP_COP2_VECTOR (void) {
((void (*)()) RSP_Vector[ RSPOpC.funct ])();
RSP_Vector[ RSPOpC.funct ]();
}
/************************** Vect functions **************************/
void RSP_Vector_VMULF (void) {

View File

@ -835,7 +835,7 @@ void CompilerRSPBlock ( void ) {
/* i think this pops up an unknown op dialog */
/* NextInstruction = FINISH_BLOCK; */
} else {
((void (*)()) RSP_Opcode[ RSPOpC.op ])();
RSP_Opcode[ RSPOpC.op ]();
}
switch (NextInstruction) {

View File

@ -168,11 +168,11 @@ void CompileBranchExit(DWORD TargetPC, DWORD ContinuePC)
/************************* OpCode functions *************************/
void Compile_SPECIAL ( void ) {
((void (*)()) RSP_Special[ RSPOpC.funct ])();
RSP_Special[ RSPOpC.funct ]();
}
void Compile_REGIMM ( void ) {
((void (*)()) RSP_RegImm[ RSPOpC.rt ])();
RSP_RegImm[ RSPOpC.rt ]();
}
void Compile_J ( void ) {
@ -572,11 +572,11 @@ void Compile_LUI ( void ) {
}
void Compile_COP0 (void) {
((void (*)()) RSP_Cop0[ RSPOpC.rs ])();
RSP_Cop0[ RSPOpC.rs ]();
}
void Compile_COP2 (void) {
((void (*)()) RSP_Cop2[ RSPOpC.rs ])();
RSP_Cop2[ RSPOpC.rs ]();
}
void Compile_LB ( void ) {
@ -948,11 +948,11 @@ void Compile_SW ( void ) {
}
void Compile_LC2 (void) {
((void (*)()) RSP_Lc2 [ RSPOpC.rd ])();
RSP_Lc2 [ RSPOpC.rd ]();
}
void Compile_SC2 (void) {
((void (*)()) RSP_Sc2 [ RSPOpC.rd ])();
RSP_Sc2 [ RSPOpC.rd ]();
}
/********************** R4300i OpCodes: Special **********************/
@ -1789,7 +1789,7 @@ void Compile_Cop2_CT ( void ) {
}
void Compile_COP2_VECTOR (void) {
((void (*)()) RSP_Vector[ RSPOpC.funct ])();
RSP_Vector[ RSPOpC.funct ]();
}
/************************** Vect functions **************************/