mirror of https://github.com/PCSX2/pcsx2.git
Fixed again the GS dump creation in the new GUI by adding 2 new accelerator to the global table.
Now the snapshots and gs dumps are correctly created in the snaps folder (or the one choose by the user). (GSDX was missing a check to understand if the directory passed by pcsx2 was or not slashed at the end. :P) git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2655 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
0c8c01494f
commit
0bac0a6217
|
@ -386,6 +386,8 @@ void Pcsx2App::InitDefaultGlobalAccelerators()
|
|||
|
||||
GlobalAccels.Map( AAC( WXK_ESCAPE ), "Sys_Suspend");
|
||||
GlobalAccels.Map( AAC( WXK_F8 ), "Sys_TakeSnapshot");
|
||||
GlobalAccels.Map( AAC( WXK_F8 ).Shift(), "Sys_TakeSnapshot");
|
||||
GlobalAccels.Map( AAC( WXK_F8 ).Shift().Cmd(),"Sys_TakeSnapshot");
|
||||
GlobalAccels.Map( AAC( WXK_F9 ), "Sys_RenderswitchToggle");
|
||||
|
||||
GlobalAccels.Map( AAC( WXK_F10 ), "Sys_LoggingToggle");
|
||||
|
|
|
@ -363,7 +363,10 @@ EXPORT_C GSvsync(int field)
|
|||
|
||||
EXPORT_C_(uint32) GSmakeSnapshot(char* path)
|
||||
{
|
||||
return s_gs->MakeSnapshot(string(path) + "gsdx");
|
||||
string str = string(path);
|
||||
if (str[str.length()] != '\\')
|
||||
str = str + "\\";
|
||||
return s_gs->MakeSnapshot(str + "gsdx");
|
||||
}
|
||||
|
||||
EXPORT_C GSkeyEvent(GSKeyEventData* e)
|
||||
|
|
Loading…
Reference in New Issue