mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 13:48:56 +00:00
Fix some warnings. Changes suggested by nerzhultheking.
This commit is contained in:
parent
4d6056f146
commit
7a95713496
1 changed files with 3 additions and 3 deletions
|
@ -253,15 +253,15 @@ void DoState(PointerWrap &p)
|
||||||
u32 i;
|
u32 i;
|
||||||
for (i=0; i<IPC_MAX_FDS; i++)
|
for (i=0; i<IPC_MAX_FDS; i++)
|
||||||
{
|
{
|
||||||
u32 exists;
|
u32 exists = 0;
|
||||||
p.Do(exists);
|
p.Do(exists);
|
||||||
if (exists)
|
if (exists)
|
||||||
{
|
{
|
||||||
u32 isHw;
|
u32 isHw = 0;
|
||||||
p.Do(isHw);
|
p.Do(isHw);
|
||||||
if (isHw)
|
if (isHw)
|
||||||
{
|
{
|
||||||
u32 hwId;
|
u32 hwId = 0;
|
||||||
p.Do(hwId);
|
p.Do(hwId);
|
||||||
g_FdMap[i] = AccessDeviceByID(hwId);
|
g_FdMap[i] = AccessDeviceByID(hwId);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue