library: Remove unnecessary DC_FlushAll()

The buffer that is passed to fwrite() is written by the CPU, not by DMA.
It isn't needed to do anything to the cache.
This commit is contained in:
Antonio Niño Díaz 2024-01-02 01:10:42 +01:00
parent 36957b04ab
commit e6e27fed0a

View File

@ -196,7 +196,6 @@ int NE_ScreenshotBMP(const char *filename)
if (NE_CurrentExecutionMode() != NE_ModeSingle3D)
vramRestorePrimaryBanks(vramTemp);
DC_FlushAll();
fwrite(temp, 1, 256 * ysize * 3 + sizeof(NE_BMPInfoHeader)
+ sizeof(NE_BMPHeader), f);
fclose(f);