mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Start of profiling support for doom.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9667 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
530cad32e8
commit
993545b4fb
3 changed files with 25 additions and 10 deletions
|
@ -838,8 +838,17 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
|
|||
|
||||
systemvol= rb->global_settings->volume-rb->global_settings->volume%((rb->sound_max(SOUND_VOLUME)-rb->sound_min(SOUND_VOLUME))/15);
|
||||
general_translucency = default_translucency; // phares
|
||||
|
||||
#ifdef RB_PROFILE
|
||||
rb->profile_thread();
|
||||
#endif
|
||||
|
||||
D_DoomMain ();
|
||||
|
||||
#ifdef RB_PROFILE
|
||||
rb->profstop();
|
||||
#endif
|
||||
|
||||
M_SaveDefaults ();
|
||||
|
||||
I_Quit(); // Make SURE everything was closed out right
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue