mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-12-28 18:22:00 +00:00
Use g_fxo for fs_aio_manager (dummy)
This commit is contained in:
parent
38a06c4b14
commit
9a2338a5ca
@ -922,8 +922,6 @@ s32 cellFsAioInit(vm::cptr<char> mount_point)
|
||||
cellFs.warning("cellFsAioInit(mount_point=%s)", mount_point);
|
||||
|
||||
// TODO: create AIO thread (if not exists) for specified mount point
|
||||
const auto m = fxm::make<fs_aio_manager>();
|
||||
|
||||
fmt::throw_exception("cellFsAio disabled, use LLE.");
|
||||
|
||||
return CELL_OK;
|
||||
@ -946,7 +944,7 @@ s32 cellFsAioRead(vm::ptr<CellFsAio> aio, vm::ptr<s32> id, fs_aio_cb_t func)
|
||||
|
||||
// TODO: detect mount point and send AIO request to the AIO thread of this mount point
|
||||
|
||||
const auto m = fxm::get<fs_aio_manager>();
|
||||
const auto m = g_fxo->get<fs_aio_manager>();
|
||||
|
||||
if (!m)
|
||||
{
|
||||
@ -970,7 +968,7 @@ s32 cellFsAioWrite(vm::ptr<CellFsAio> aio, vm::ptr<s32> id, fs_aio_cb_t func)
|
||||
|
||||
// TODO: detect mount point and send AIO request to the AIO thread of this mount point
|
||||
|
||||
const auto m = fxm::get<fs_aio_manager>();
|
||||
const auto m = g_fxo->get<fs_aio_manager>();
|
||||
|
||||
if (!m)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user