mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-07 15:36:26 +00:00
moved tsc and asm utilities to rx
This commit is contained in:
parent
bd215fab92
commit
640df36c48
121 changed files with 706 additions and 1225 deletions
|
|
@ -1,9 +1,9 @@
|
|||
#include "stdafx.h"
|
||||
|
||||
#include "rx/asm.hpp"
|
||||
#include "sys_fs.h"
|
||||
#include "sys_memory.h"
|
||||
#include "sys_sync.h"
|
||||
#include "util/asm.hpp"
|
||||
|
||||
#include "Crypto/unedat.h"
|
||||
#include "Emu/Cell/PPUThread.h"
|
||||
|
|
@ -618,7 +618,7 @@ struct lv2_file::file_view : fs::file_base {
|
|||
fs::stat_t stat = m_file->file.get_stat();
|
||||
|
||||
// TODO: Check this on realhw
|
||||
// stat.size = utils::sub_saturate<u64>(stat.size, m_off);
|
||||
// stat.size = rx::sub_saturate<u64>(stat.size, m_off);
|
||||
|
||||
stat.is_writable = false;
|
||||
return stat;
|
||||
|
|
@ -655,7 +655,7 @@ struct lv2_file::file_view : fs::file_base {
|
|||
}
|
||||
|
||||
u64 size() override {
|
||||
return utils::sub_saturate<u64>(m_file->file.size(), m_off);
|
||||
return rx::sub_saturate<u64>(m_file->file.size(), m_off);
|
||||
}
|
||||
|
||||
fs::file_id get_id() override {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue