mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-05-23 14:41:38 -04:00
emu64: more improvements
This commit is contained in:
@@ -594,6 +594,14 @@ typedef struct Gspecial1 {
|
||||
unsigned int param1;
|
||||
} Gspecial1;
|
||||
|
||||
typedef struct {
|
||||
int cmd:8;
|
||||
int pad0:8;
|
||||
u32 sft:8;
|
||||
u32 len:8;
|
||||
unsigned int data:32;
|
||||
} Gsetothermode_dolphin;
|
||||
|
||||
typedef struct {
|
||||
unsigned char col[3];
|
||||
unsigned char kc;
|
||||
|
||||
@@ -3663,7 +3663,7 @@ static const OthermodeParameterInfo h_tbl[] = {
|
||||
};
|
||||
|
||||
void emu64::dl_G_SETOTHERMODE_H() {
|
||||
GsetothermodeH* othermodeH = &this->gfx.setothermodeH;
|
||||
Gsetothermode_dolphin* othermodeH = (Gsetothermode_dolphin*)&this->gfx.setothermodeH;
|
||||
u32 sft;
|
||||
u32 len;
|
||||
u32 data;
|
||||
@@ -3729,8 +3729,8 @@ void emu64::dl_G_SETOTHERMODE_L() {
|
||||
u32 len;
|
||||
u32 data;
|
||||
|
||||
len = this->gfx.setothermodeL.len + 1;
|
||||
sft = (32 - this->gfx.setothermodeL.sft) - len;
|
||||
len = ((Gsetothermode_dolphin*)&this->gfx)->len + 1;
|
||||
sft = (32 - ((Gsetothermode_dolphin*)&this->gfx)->sft) - len;
|
||||
data = this->gfx.setothermodeL.data;
|
||||
|
||||
if ((this->print_commands & EMU64_PRINTF2_FLAG) != 0) {
|
||||
|
||||
@@ -259,6 +259,7 @@ const char* emu64::combine_tev_color_name(u32 color_param) {
|
||||
break;
|
||||
#endif
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
const char* emu64::combine_tev_alpha_name(u32 alpha_param) {
|
||||
|
||||
Reference in New Issue
Block a user