mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-24 06:39:58 -06:00
* rework GPU's settings interface, make it config-agnostic
* make video settings dialog functional, sorta * fix dialogs that were resizable
This commit is contained in:
@ -202,16 +202,8 @@ void GPU2D::DoSavestate(Savestate* file)
|
||||
file->Var32(&CaptureCnt);
|
||||
}
|
||||
|
||||
if (file->IsAtleastVersion(2, 1))
|
||||
{
|
||||
file->Var32(&Win0Active);
|
||||
file->Var32(&Win1Active);
|
||||
}
|
||||
else
|
||||
{
|
||||
Win0Active = 0;
|
||||
Win1Active = 0;
|
||||
}
|
||||
file->Var32(&Win0Active);
|
||||
file->Var32(&Win1Active);
|
||||
|
||||
if (!file->Saving)
|
||||
{
|
||||
@ -232,7 +224,7 @@ void GPU2D::SetFramebuffer(u32* buf)
|
||||
Framebuffer = buf;
|
||||
}
|
||||
|
||||
void GPU2D::SetDisplaySettings(bool accel)
|
||||
void GPU2D::SetRenderSettings(bool accel)
|
||||
{
|
||||
Accelerated = accel;
|
||||
|
||||
|
Reference in New Issue
Block a user