mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-07 08:39:00 +00:00
fix non-HAVE_WX case
This commit is contained in:
parent
5f72542e06
commit
cd46138d29
2 changed files with 3 additions and 3 deletions
|
@ -22,7 +22,6 @@
|
||||||
#include "DriverDetails.h"
|
#include "DriverDetails.h"
|
||||||
#include "VideoConfig.h"
|
#include "VideoConfig.h"
|
||||||
#include "Statistics.h"
|
#include "Statistics.h"
|
||||||
#include "ImageWrite.h"
|
|
||||||
#include "PixelEngine.h"
|
#include "PixelEngine.h"
|
||||||
#include "Render.h"
|
#include "Render.h"
|
||||||
#include "BPStructs.h"
|
#include "BPStructs.h"
|
||||||
|
|
|
@ -35,6 +35,7 @@
|
||||||
#include "WxUtils.h"
|
#include "WxUtils.h"
|
||||||
#include <wx/image.h>
|
#include <wx/image.h>
|
||||||
#endif
|
#endif
|
||||||
|
#include "ImageWrite.h"
|
||||||
|
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
@ -308,8 +309,8 @@ void Renderer::SaveScreenshot(u8* ptr, size_t width, size_t height)
|
||||||
OSD::AddMessage("Saving Screenshot... ", 2000);
|
OSD::AddMessage("Saving Screenshot... ", 2000);
|
||||||
|
|
||||||
#else
|
#else
|
||||||
SaveTGA(filename.c_str(), W, H, data);
|
SaveTGA(s_sScreenshotName.c_str(), width, height, ptr);
|
||||||
free(data);
|
free(ptr);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
s_sScreenshotName.clear();
|
s_sScreenshotName.clear();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue