sys_spu diag

This commit is contained in:
Nekotekina 2017-02-05 15:48:11 +03:00
parent cb1f30e9d2
commit 11b0b6958f
14 changed files with 99 additions and 92 deletions

View file

@ -43,6 +43,8 @@
#include "Modules/cellMsgDialog.h"
#endif
extern u64 get_system_time();
namespace vm { using namespace ps3; }
enum class ppu_decoder_type
@ -374,7 +376,7 @@ void ppu_thread::fast_call(u32 addr, u32 rtoc)
}
catch (EmulationStopped)
{
if (last_function) LOG_WARNING(PPU, "'%s' aborted", last_function);
if (last_function) LOG_WARNING(PPU, "'%s' aborted (%fs)", last_function, (get_system_time() - gpr[10]) / 1000000.);
last_function = old_func;
throw;
}