mirror of
https://github.com/red-prig/fpPS4.git
synced 2024-10-07 03:33:20 +00:00
DISABLE_SRGB_HACK config
This commit is contained in:
parent
56f0d24fcc
commit
5725cef328
@ -54,6 +54,7 @@ uses
|
||||
ps4_videodrv,
|
||||
vMemory,
|
||||
vImageManager,
|
||||
vFlip,
|
||||
|
||||
trace_manager;
|
||||
|
||||
@ -81,6 +82,7 @@ begin
|
||||
Writeln(' MEMORY_BOUND_HACK //limit the amount of GPU allocated memory (iGPU)');
|
||||
Writeln(' IMAGE_TEST_HACK //always mark that the texture has changed');
|
||||
Writeln(' IMAGE_LOAD_HACK //never reload texture');
|
||||
Writeln(' DISABLE_SRGB_HACK //disables hacked display of SRGB');
|
||||
|
||||
Exit(False);
|
||||
end;
|
||||
@ -125,6 +127,7 @@ begin
|
||||
'MEMORY_BOUND_HACK' :vMemory.MEMORY_BOUND_HACK:=True;
|
||||
'IMAGE_TEST_HACK' :vImageManager.IMAGE_TEST_HACK:=True;
|
||||
'IMAGE_LOAD_HACK' :vImageManager.IMAGE_LOAD_HACK:=True;
|
||||
'DISABLE_SRGB_HACK' :vFlip.SRGB_HACK:=False;
|
||||
else;
|
||||
end;
|
||||
end;
|
||||
|
@ -132,6 +132,9 @@ type
|
||||
Procedure Flip;
|
||||
end;
|
||||
|
||||
var
|
||||
SRGB_HACK:Boolean=True;
|
||||
|
||||
implementation
|
||||
|
||||
Procedure TvFlipCursor.Free;
|
||||
@ -314,9 +317,6 @@ begin
|
||||
buf^.Init(Self);
|
||||
end;
|
||||
|
||||
Const
|
||||
SRGB_HACK=True;
|
||||
|
||||
Procedure TvFlip.SetImageFormat(format,tmode:DWORD);
|
||||
begin
|
||||
if (Fformat=format) and (Ftmode=tmode) and (Ffilp_shader<>nil) then Exit;
|
||||
|
Loading…
Reference in New Issue
Block a user