Compare commits

...

5 commits

Author SHA1 Message Date
Kyuyrii Byakko
c32d91c87e
Merge 4ec3fe194c into 4867bb2e2b 2026-05-31 12:28:08 +01:00
RedBlackAka
4867bb2e2b
video_core: Change unimplemented gas stub behaviour for Vulkan (#2165) 2026-05-30 23:53:16 +02:00
Kyuyrii
4ec3fe194c
Merge branch 'master' into patch-1 2026-03-20 22:00:32 -03:00
Kyuyrii
2143eb6f2f
Merge branch 'azahar-emu:master' into patch-1 2026-03-13 02:41:51 -03:00
Kyuyrii
b12b367348 Adding StartupWMClass 2026-02-10 18:57:45 +01:00
2 changed files with 8 additions and 1 deletions

1
dist/azahar.desktop vendored
View file

@ -12,3 +12,4 @@ Exec=azahar %f
Categories=Game;Emulator;
MimeType=application/x-ctr-3dsx;application/x-ctr-cci;application/x-ctr-cia;application/x-ctr-cxi;
Keywords=3DS;Nintendo;
StartupWMClass=org.azahar_emu.Azahar

View file

@ -72,6 +72,7 @@ void FragmentModule::Generate() {
break;
case TexturingRegs::FogMode::Gas:
WriteGas();
// Return early due to unimplemented gas mode
return;
default:
break;
@ -196,7 +197,12 @@ void FragmentModule::WriteFog() {
void FragmentModule::WriteGas() {
// TODO: Implement me
LOG_CRITICAL(Render, "Unimplemented gas mode");
OpKill();
// Replace the output color with a transparent pixel,
// (just discarding the pixel causes graphical issues
// in some MH games).
OpStore(color_id, ConstF32(0.f, 0.f, 0.f, 0.f));
OpReturn();
OpFunctionEnd();
}