mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 08:51:28 +12:00
Change Cell->RSX map/unmap notifications
This allows for further flexibility on the RSX side, allowing us to fix some bugs and crashes in later commits.
This commit is contained in:
parent
a07cbaca8e
commit
f3029b2b42
3 changed files with 33 additions and 14 deletions
|
@ -1,4 +1,4 @@
|
|||
#include "stdafx.h"
|
||||
#include "stdafx.h"
|
||||
#include "Emu/Memory/vm.h"
|
||||
#include "Emu/System.h"
|
||||
#include "Emu/IdManager.h"
|
||||
|
@ -1382,6 +1382,7 @@ namespace rsx
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
//std::future<void> thread::add_internal_task(std::function<bool()> callback)
|
||||
//{
|
||||
// std::lock_guard lock(m_mtx_task);
|
||||
|
@ -2673,6 +2674,12 @@ namespace rsx
|
|||
check_zcull_status(false);
|
||||
}
|
||||
|
||||
void thread::on_notify_memory_mapped(u32 address, u32 size)
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
|
||||
|
||||
void thread::on_notify_memory_unmapped(u32 base_address, u32 size)
|
||||
{
|
||||
if (!m_rsx_thread_exiting && base_address < 0xC0000000)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue