emu64: more improvements

This commit is contained in:
Cuyler36
2025-06-17 11:09:46 -04:00
parent 3b05953b8c
commit 5aa5edd0c6
3 changed files with 12 additions and 3 deletions
+3 -3
View File
@@ -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) {