diff options
author | Alcaro | 2017-01-17 00:37:18 +0100 |
---|---|---|
committer | GitHub | 2017-01-17 00:37:18 +0100 |
commit | 6e9a6c9b040035cdc7d015b8bdb21e920c811dca (patch) | |
tree | 73e7755d117b8dd9eea499977c632727deb20d00 /source/cpuexec.h | |
parent | 7ed90abe19954aaf1fa56657a08e3cae4c8a67ce (diff) | |
parent | cbbfa871ae3d9db3852d9122a6d8355896c073ed (diff) | |
download | snesemu-6e9a6c9b040035cdc7d015b8bdb21e920c811dca.tar.gz snesemu-6e9a6c9b040035cdc7d015b8bdb21e920c811dca.tar.bz2 snesemu-6e9a6c9b040035cdc7d015b8bdb21e920c811dca.zip |
Merge pull request #26 from jamsilva/master
Cleanups v2
Diffstat (limited to 'source/cpuexec.h')
-rw-r--r-- | source/cpuexec.h | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/source/cpuexec.h b/source/cpuexec.h index 82de07f..5ecce18 100644 --- a/source/cpuexec.h +++ b/source/cpuexec.h @@ -24,22 +24,21 @@ typedef struct if (CPU.Cycles >= CPU.NextEvent) \ S9xDoHBlankProcessing_NoSFX (); - typedef struct { - uint8_t* Speed; - SOpcodes* S9xOpcodes; + uint8_t* Speed; + SOpcodes* S9xOpcodes; SRegisters Registers; - uint8_t _Carry; - uint8_t _Zero; - uint8_t _Negative; - uint8_t _Overflow; - bool CPUExecuting; - uint32_t ShiftedPB; - uint32_t ShiftedDB; - uint32_t Frame; - uint32_t Scanline; - uint32_t FrameAdvanceCount; + uint8_t _Carry; + uint8_t _Zero; + uint8_t _Negative; + uint8_t _Overflow; + bool CPUExecuting; + uint32_t ShiftedPB; + uint32_t ShiftedDB; + uint32_t Frame; + uint32_t Scanline; + uint32_t FrameAdvanceCount; } SICPU; void S9xMainLoop(void); @@ -132,4 +131,3 @@ static inline void S9xReschedule() } #endif - |