Address code style comments
This commit is contained in:
parent
e87dc17da2
commit
ac1cda21c3
2 changed files with 5 additions and 3 deletions
|
@ -278,6 +278,7 @@ public: // HACK: this is temporary exposed for tests,
|
|||
// due to WIP kernel refactor causing desync state in memory
|
||||
std::unique_ptr<Kernel::KernelSystem> kernel;
|
||||
std::unique_ptr<Timing> timing;
|
||||
|
||||
/// Memory system
|
||||
std::unique_ptr<Memory::MemorySystem> memory;
|
||||
|
||||
|
|
|
@ -1420,9 +1420,10 @@ void CROHelper::Register(VAddr crs_address, bool auto_link) {
|
|||
|
||||
void CROHelper::Unregister(VAddr crs_address) {
|
||||
CROHelper crs(crs_address, process, memory);
|
||||
CROHelper next_head(crs.NextModule(), process, memory),
|
||||
previous_head(crs.PreviousModule(), process, memory);
|
||||
CROHelper next(NextModule(), process, memory), previous(PreviousModule(), process, memory);
|
||||
CROHelper next_head(crs.NextModule(), process, memory);
|
||||
CROHelper previous_head(crs.PreviousModule(), process, memory);
|
||||
CROHelper next(NextModule(), process, memory);
|
||||
CROHelper previous(PreviousModule(), process, memory);
|
||||
|
||||
if (module_address == next_head.module_address ||
|
||||
module_address == previous_head.module_address) {
|
||||
|
|
Loading…
Reference in a new issue