moved tsc and asm utilities to rx

This commit is contained in:
DH 2025-10-05 19:28:03 +03:00
parent bd215fab92
commit 640df36c48
121 changed files with 706 additions and 1225 deletions

View file

@ -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 {