diff options
| author | degasus <wickmarkus@web.de> | 2014-07-08 22:37:58 +0200 |
|---|---|---|
| committer | degasus <wickmarkus@web.de> | 2014-07-11 16:10:20 +0200 |
| commit | 7e79806efcd5c5e41efea89fa385b480ac1882f5 (patch) | |
| tree | 57079ff88525dade11b2d1901357e221df6ddab7 /Source/Core/VideoBackends/Software | |
| parent | 81ed17be53e7fed93147dc0d334a6c1d45f4e3c8 (diff) | |
remove unused globals
Also change globals into statics which are only used in one file
Diffstat (limited to 'Source/Core/VideoBackends/Software')
| -rw-r--r-- | Source/Core/VideoBackends/Software/SWCommandProcessor.cpp | 2 | ||||
| -rw-r--r-- | Source/Core/VideoBackends/Software/SWCommandProcessor.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/Source/Core/VideoBackends/Software/SWCommandProcessor.cpp b/Source/Core/VideoBackends/Software/SWCommandProcessor.cpp index 3b80b9ddbf..4f4790ed72 100644 --- a/Source/Core/VideoBackends/Software/SWCommandProcessor.cpp +++ b/Source/Core/VideoBackends/Software/SWCommandProcessor.cpp @@ -44,7 +44,7 @@ static int et_UpdateInterrupts; static volatile bool interruptSet; static volatile bool interruptWaiting; -CPReg cpreg; // shared between gfx and emulator thread +static CPReg cpreg; // shared between gfx and emulator thread void DoState(PointerWrap &p) { diff --git a/Source/Core/VideoBackends/Software/SWCommandProcessor.h b/Source/Core/VideoBackends/Software/SWCommandProcessor.h index e30eccfec5..6102921039 100644 --- a/Source/Core/VideoBackends/Software/SWCommandProcessor.h +++ b/Source/Core/VideoBackends/Software/SWCommandProcessor.h @@ -41,8 +41,6 @@ namespace SWCommandProcessor u32 breakpt; // 0x3c }; - extern CPReg cpreg; - // Init void Init(); void Shutdown(); |
