Skip to content

Commit

Permalink
new_dynarec: moved x86 and ARM files to new_dynarec\x86 and new_dynar…
Browse files Browse the repository at this point in the history
…ec\arm
  • Loading branch information
Gillou68310 committed Mar 2, 2015
1 parent b962810 commit bdb8a88
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 5 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
11 changes: 6 additions & 5 deletions src/r4300/new_dynarec/new_dynarec.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ extern "C" {
#include "../recomph.h" //include for function prototypes
#include "../cp0_private.h"
#include "../cp1.h"
#include "../cp1_private.h"
#include "../r4300.h"
#include "../ops.h"
#include "../tlb.h"
Expand All @@ -56,10 +57,10 @@ extern "C" {
#endif

#if NEW_DYNAREC == NEW_DYNAREC_X86
#include "assem_x86.h"
#include "x86/assem_x86.h"
#elif NEW_DYNAREC == NEW_DYNAREC_ARM
#include "arm_cpu_features.h"
#include "assem_arm.h"
#include "arm/arm_cpu_features.h"
#include "arm/assem_arm.h"
#else
#error Unsupported dynarec architecture
#endif
Expand Down Expand Up @@ -1008,9 +1009,9 @@ static uint64_t ldr_merge(uint64_t original,uint64_t loaded,u_int bits)
}

#if NEW_DYNAREC == NEW_DYNAREC_X86
#include "assem_x86.c"
#include "x86/assem_x86.c"
#elif NEW_DYNAREC == NEW_DYNAREC_ARM
#include "assem_arm.c"
#include "arm/assem_arm.c"
#else
#error Unsupported dynarec architecture
#endif
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

1 comment on commit bdb8a88

@gizmo98
Copy link
Contributor

@gizmo98 gizmo98 commented on bdb8a88 Mar 5, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit brakes arm target.
../../src/r4300/new_dynarec/arm/assem_arm.c:22:28: fatal error: ../cp0_private.h: No such file or directory
compilation terminated.
Makefile:666: recipe for target '_obj/r4300/new_dynarec/new_dynarec.o' failed
make: *** [_obj/r4300/new_dynarec/new_dynarec.o] Error 1

Line 22 should be something like: #include "../../cp0_private.h"
https://github.com/mupen64plus/mupen64plus-core/blob/master/src/r4300/new_dynarec/arm/assem_arm.c#L22

Please sign in to comment.