mirror of
https://github.com/AntonioND/nitro-engine.git
synced 2025-06-18 16:45:33 -04:00
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:
parent
36957b04ab
commit
e6e27fed0a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user