Removed excess CRTC masking from several graphics cards;

Reverted two dynarec files to their PCem versions - fixes Sensible Soccer.
This commit is contained in:
OBattler
2018-02-03 03:19:12 +01:00
parent ccb5fdf563
commit 2707de9925
10 changed files with 20 additions and 36 deletions

View File

@@ -146,7 +146,7 @@ static uint32_t ropFSTs(uint8_t opcode, uint32_t fetchdat, uint32_t op_32, uint3
static uint32_t ropFSTd(uint8_t opcode, uint32_t fetchdat, uint32_t op_32, uint32_t op_pc, codeblock_t *block)
{
x86seg *target_seg;
int host_reg1 = 0, host_reg2 = 0;
int host_reg1, host_reg2;
FP_ENTER();
op_pc--;
@@ -556,7 +556,7 @@ static uint32_t ropFISTPl(uint8_t opcode, uint32_t fetchdat, uint32_t op_32, uin
static uint32_t ropFISTPq(uint8_t opcode, uint32_t fetchdat, uint32_t op_32, uint32_t op_pc, codeblock_t *block)
{
x86seg *target_seg;
int host_reg1 = 0, host_reg2 = 0;
int host_reg1, host_reg2;
FP_ENTER();
op_pc--;
@@ -621,12 +621,10 @@ static uint32_t ropFCHS(uint8_t opcode, uint32_t fetchdat, uint32_t op_32, uint3
#define opFLDimm(name, v) \
static uint32_t ropFLD ## name(uint8_t opcode, uint32_t fetchdat, uint32_t op_32, uint32_t op_pc, codeblock_t *block) \
{ \
uint64_t *q; \
static double fp_imm = v; \
\
FP_ENTER(); \
q = (uint64_t *)&fp_imm; \
FP_LOAD_IMM_Q(*q); \
FP_LOAD_IMM_Q(*(uint64_t *)&fp_imm); \
\
return op_pc; \
}