Skip to content

Commit

Permalink
Fix Travis compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
tambry committed Jul 14, 2015
1 parent 80b544a commit 2e3113b
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 17 deletions.
16 changes: 0 additions & 16 deletions rpcs3/Emu/SysCalls/Modules/sceNp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,6 @@

extern Module sceNp;

struct sceNpInternal
{
bool m_bSceNpInitialized;
bool m_bScoreInitialized;
bool m_bLookupInitialized;
bool m_bSceNpUtilBandwidthTestInitialized;

sceNpInternal()
: m_bSceNpInitialized(false),
m_bScoreInitialized(false),
m_bLookupInitialized(false),
m_bSceNpUtilBandwidthTestInitialized(false)
{
}
};

sceNpInternal sceNpInstance;

s32 sceNpInit(u32 poolsize, vm::ptr<u32> poolptr)
Expand Down
18 changes: 18 additions & 0 deletions rpcs3/Emu/SysCalls/Modules/sceNp.h
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,24 @@ enum

using SceNpBasicEventHandler = func_def<s32(s32 event, s32 retCode, u32 reqId, vm::ptr<void> arg)>;

struct sceNpInternal
{
bool m_bSceNpInitialized;
bool m_bScoreInitialized;
bool m_bLookupInitialized;
bool m_bSceNpUtilBandwidthTestInitialized;

sceNpInternal()
: m_bSceNpInitialized(false),
m_bScoreInitialized(false),
m_bLookupInitialized(false),
m_bSceNpUtilBandwidthTestInitialized(false)
{
}
};

extern sceNpInternal sceNpInstance;

// NP Manager Utility statuses
enum
{
Expand Down
2 changes: 1 addition & 1 deletion rpcs3/Emu/SysCalls/Modules/sceNp2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include "Emu/Memory/Memory.h"
#include "Emu/SysCalls/Modules.h"

#include "sceNp.cpp"
#include "sceNp.h"

extern Module sceNp2;

Expand Down

0 comments on commit 2e3113b

Please sign in to comment.