mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-23 18:19:21 +01:00
Address code style comments
This commit is contained in:
parent
e87dc17da2
commit
ac1cda21c3
@ -278,6 +278,7 @@ public: // HACK: this is temporary exposed for tests,
|
|||||||
// due to WIP kernel refactor causing desync state in memory
|
// due to WIP kernel refactor causing desync state in memory
|
||||||
std::unique_ptr<Kernel::KernelSystem> kernel;
|
std::unique_ptr<Kernel::KernelSystem> kernel;
|
||||||
std::unique_ptr<Timing> timing;
|
std::unique_ptr<Timing> timing;
|
||||||
|
|
||||||
/// Memory system
|
/// Memory system
|
||||||
std::unique_ptr<Memory::MemorySystem> memory;
|
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) {
|
void CROHelper::Unregister(VAddr crs_address) {
|
||||||
CROHelper crs(crs_address, process, memory);
|
CROHelper crs(crs_address, process, memory);
|
||||||
CROHelper next_head(crs.NextModule(), process, memory),
|
CROHelper next_head(crs.NextModule(), process, memory);
|
||||||
previous_head(crs.PreviousModule(), process, memory);
|
CROHelper previous_head(crs.PreviousModule(), process, memory);
|
||||||
CROHelper next(NextModule(), process, memory), previous(PreviousModule(), process, memory);
|
CROHelper next(NextModule(), process, memory);
|
||||||
|
CROHelper previous(PreviousModule(), process, memory);
|
||||||
|
|
||||||
if (module_address == next_head.module_address ||
|
if (module_address == next_head.module_address ||
|
||||||
module_address == previous_head.module_address) {
|
module_address == previous_head.module_address) {
|
||||||
|
Loading…
Reference in New Issue
Block a user