mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-16 11:48:36 +12:00
Minor changes: GCM command, PKG loader & SysCalls
* Fixed incorrect time displayed on NV4097_GET_REPORT. * Fixed small bug in PKGLoader::UnpackEntry * Moved some code in SC_Time.cpp * Auxiliary function declarations of SC_Time.cpp in SC_Time.h * Updated cellFsUnlink. *This won't work until ExistsFile is fully implemented*.
This commit is contained in:
parent
696e00a570
commit
7379b0e2ed
6 changed files with 36 additions and 18 deletions
|
@ -1,5 +1,6 @@
|
|||
#include "stdafx.h"
|
||||
#include "RSXThread.h"
|
||||
#include "Emu/SysCalls/lv2/SC_Time.h"
|
||||
|
||||
#define ARGS(x) (x >= count ? OutOfArgsCount(x, cmd, count) : Memory.Read32(Memory.RSXIOMem.GetStartAddr() + re(m_ctrl->get) + (4*(x+1))))
|
||||
|
||||
|
@ -1195,8 +1196,8 @@ void RSXThread::DoCmd(const u32 fcmd, const u32 cmd, mem32_ptr_t& args, const u3
|
|||
switch(type)
|
||||
{
|
||||
case 1:
|
||||
data = std::chrono::steady_clock::now().time_since_epoch().count();
|
||||
data *= 1000000;
|
||||
data = get_system_time();
|
||||
data *= 1000; // Microseconds to nanoseconds
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue