mirror of
https://github.com/libretro/pcsx2.git
synced 2024-12-21 09:18:18 +00:00
Hook up the save/load menus and make the Linux console output somewhat less insane.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1847 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
e75043b91e
commit
b6918b1b9b
@ -574,7 +574,7 @@ namespace Console
|
||||
// [TODO] make this a configurable option? Do we care? :)
|
||||
#ifdef __LINUX__
|
||||
// puts does automatic newlines, which we don't want here
|
||||
fputs( "PCSX2 > ", stdout );
|
||||
//fputs( "PCSX2 > ", stdout );
|
||||
fputs( src, stdout );
|
||||
#endif
|
||||
|
||||
@ -635,6 +635,7 @@ namespace Console
|
||||
bool __fastcall WriteLn( const wxString& fmt )
|
||||
{
|
||||
const wxString fmtline( fmt + L"\n" );
|
||||
_immediate_logger( "PCSX2 > ");
|
||||
_immediate_logger( fmtline );
|
||||
|
||||
if( emuLog != NULL )
|
||||
|
@ -144,13 +144,15 @@ void MainEmuFrame::Menu_OpenELF_Click(wxCommandEvent &event)
|
||||
void MainEmuFrame::Menu_LoadStates_Click(wxCommandEvent &event)
|
||||
{
|
||||
int id = event.GetId() - MenuId_State_Load01 - 1;
|
||||
Console::WriteLn("If this were hooked up, it would load slot %d.", id);
|
||||
Console::WriteLn("Loading slot %d.", id);
|
||||
States_Load(id);
|
||||
}
|
||||
|
||||
void MainEmuFrame::Menu_SaveStates_Click(wxCommandEvent &event)
|
||||
{
|
||||
int id = event.GetId() - MenuId_State_Save01 - 1;
|
||||
Console::WriteLn("If this were hooked up, it would save slot %d.", id);
|
||||
Console::WriteLn("Saving to slot %d.", id);
|
||||
States_Save(id);
|
||||
}
|
||||
|
||||
void MainEmuFrame::Menu_LoadStateOther_Click(wxCommandEvent &event)
|
||||
|
Loading…
Reference in New Issue
Block a user