Skip to content

Commit

Permalink
fix windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzziqersoftware committed Aug 24, 2024
1 parent d318f7a commit a2eb327
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions src/Emulators/SH4Emulator.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#include <inttypes.h>
#include <math.h>
#include <stdio.h>
#include <string.h>

Expand Down Expand Up @@ -147,6 +148,8 @@ static bool is_reg_name(const string& s) {
return false;
}

SH4Emulator::SH4Emulator(shared_ptr<MemoryContext> mem) : EmulatorBase(mem) {}

void SH4Emulator::import_state(FILE* stream) {
uint8_t version = freadx<uint8_t>(stream);
if (version != 0) {
Expand Down
4 changes: 2 additions & 2 deletions src/Emulators/SH4Emulator.hh
Original file line number Diff line number Diff line change
Expand Up @@ -100,14 +100,14 @@ public:
union {
uint32_t fpul_i;
float fpul_f;
} __attribute__((packed));
};
uint32_t fpscr;
uint32_t dbr;

union {
float f[32];
double d[16];
} __attribute__((packed));
};

enum PendingBranchType {
NONE = 0,
Expand Down

0 comments on commit a2eb327

Please sign in to comment.