fix machine profile saving

This commit is contained in:
Chris Danford
2003-12-08 06:41:30 +00:00
parent a914544718
commit a93fbd11bd
4 changed files with 109 additions and 17 deletions
+6
View File
@@ -1021,6 +1021,12 @@ bool HandleGlobalInputs( DeviceInput DeviceI, InputEventType type, GameInput Gam
{
THEME->ReloadMetrics();
TEXTUREMAN->ReloadAll();
// HACK: Also save bookkeeping and profile info for debugging
// so we don't have to play through a whole song to get new output.
BOOKKEEPER->WriteToDisk();
PROFILEMAN->SaveMachineScoresToDisk();
SCREENMAN->SystemMessage( "Reloaded metrics and textures" );
return true;
}