mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-24 00:29:57 +00:00
Enable block transfers in headless for testing.
This allows us to do memory (not just screenshot) tests with GLES, yay.
This commit is contained in:
parent
03f86f364f
commit
098e763b82
@ -321,7 +321,7 @@ int main(int argc, const char* argv[])
|
||||
// Never report from tests.
|
||||
g_Config.sReportHost = "";
|
||||
g_Config.bAutoSaveSymbolMap = false;
|
||||
g_Config.iRenderingMode = 0;
|
||||
g_Config.iRenderingMode = 1;
|
||||
g_Config.bHardwareTransform = true;
|
||||
#ifdef USING_GLES2
|
||||
g_Config.iAnisotropyLevel = 0;
|
||||
@ -346,6 +346,7 @@ int main(int argc, const char* argv[])
|
||||
g_Config.iSFXVolume = MAX_CONFIG_VOLUME;
|
||||
g_Config.bSoftwareSkinning = true;
|
||||
g_Config.bVertexDecoderJit = true;
|
||||
g_Config.bBlockTransferGPU = true;
|
||||
|
||||
#ifdef _WIN32
|
||||
InitSysDirectories();
|
||||
|
@ -102,6 +102,11 @@ void WindowsHeadlessHost::SendOrCollectDebugOutput(const std::string &data)
|
||||
|
||||
void WindowsHeadlessHost::SendDebugScreenshot(const u8 *pixbuf, u32 w, u32 h)
|
||||
{
|
||||
// Only if we're actually comparing.
|
||||
if (comparisonScreenshot.empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// We ignore the current framebuffer parameters and just grab the full screen.
|
||||
const static int FRAME_WIDTH = 512;
|
||||
const static int FRAME_HEIGHT = 272;
|
||||
|
Loading…
Reference in New Issue
Block a user