mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
libretro, build fix for ngc/wii/wiiu
This commit is contained in:
parent
f6b8bcc701
commit
44245ef0ea
2 changed files with 5 additions and 4 deletions
|
@ -468,7 +468,7 @@ static void rcache_free_tmp(int hr);
|
|||
#include "../drc/emit_mips.c"
|
||||
#elif defined(__riscv__) || defined(__riscv)
|
||||
#include "../drc/emit_riscv.c"
|
||||
#elif defined(__powerpc__) || defined(_M_PPC)
|
||||
#elif defined(__powerpc__) || defined(__ppc__) || defined(_M_PPC)
|
||||
#include "../drc/emit_ppc.c"
|
||||
#elif defined(__i386__) || defined(_M_X86)
|
||||
#include "../drc/emit_x86.c"
|
||||
|
@ -3014,7 +3014,8 @@ static void emit_do_static_regs(int is_write, int tmpr)
|
|||
// divide operation replacement functions, called by compiled code. Only the
|
||||
// 32:16 cases and the 64:32 cases described in the SH2 prog man are replaced.
|
||||
|
||||
// This is surprisingly difficult since the SH2 division operation is generating// the result in the dividend during the operation, leaving some remainder-like
|
||||
// This is surprisingly difficult since the SH2 division operation is generating
|
||||
// the result in the dividend during the operation, leaving some remainder-like
|
||||
// stuff in the bits unused for the result, and leaving the T and Q status bits
|
||||
// in a state depending on the operands and the result. Q always reflects the
|
||||
// last result bit generated (i.e. bit 0 of the result). For T:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue