mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-10 21:16:24 +02:00
Revive old alignment utility functions, give them better names.
This commit is contained in:
1 parent
f2df336f79
commit
33b87578c5
6 files changed
+31
-19
No files matched your search
@@ -27,6 +27,7 @@
|
||||
#include "Common/Data/Encoding/Utf8.h"
|
||||
#include "Common/Log.h"
|
||||
#include "Common/StringUtils.h"
|
||||
#include "Common/Math/math_util.h"
|
||||
#include "Core/MemMap.h"
|
||||
#include "Core/System.h"
|
||||
#include "Core/MIPS/MIPSDebugInterface.h"
|
||||
@@ -191,7 +192,7 @@ void DisassemblyManager::analyze(u32 address, u32 size = 1024)
|
||||
{
|
||||
u32 end = address+size;
|
||||
|
||||
address &= ~3;
|
||||
address = RoundDownToMultipleOf(address, 4);
|
||||
u32 start = address;
|
||||
|
||||
while (address < end && start <= address)
|
||||
|
||||
Reference in new issue
Block a user