mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 18:01:56 +00:00
warnings and code formatting
This commit is contained in:
parent
038ffea369
commit
f96e9e1ae4
10 changed files with 37 additions and 21 deletions
|
@ -193,10 +193,12 @@ public:
|
|||
void DoPointer(T*& x, T* const base)
|
||||
{
|
||||
// pointers can be more than 2^31 apart, but you're using this function wrong if you need that much range
|
||||
s32 offset = x - base;
|
||||
ptrdiff_t offset = x - base;
|
||||
Do(offset);
|
||||
if (mode == MODE_READ)
|
||||
{
|
||||
x = base + offset;
|
||||
}
|
||||
}
|
||||
|
||||
// Let's pretend std::list doesn't exist!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue