Skip to content
This repository was archived by the owner on Sep 29, 2025. It is now read-only.

Commit 3a25f13

Browse files
authored
Merge pull request #1702 from reicast/skmp/remove-cruft
Remove unused features. We might re-add them back after the refactors
2 parents 7e2d6f0 + 0bbf71d commit 3a25f13

File tree

203 files changed

+3
-54208
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

203 files changed

+3
-54208
lines changed

libswirl/hw/sh4/dyna/driver.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,10 @@ void recSh4_Run()
9191
printf("Warning: SMC check mode is %d\n", settings.dynarec.SmcCheckLevel);
9292

9393
verify(rcb_noffs(&next_pc)==-184);
94+
9495
rdv_ngen->Mainloop(sh4_dyna_rcb);
95-
96-
#if !defined(TARGET_BOUNDED_EXECUTION)
96+
9797
sh4_int_bCpuRun=false;
98-
#endif
9998
}
10099

101100
void emit_Write32(u32 data)

libswirl/hw/sh4/interpr/sh4_interpreter.cpp

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,7 @@ void Sh4_int_Run()
4747

4848
l = SH4_TIMESLICE;
4949

50-
#if !defined(TARGET_BOUNDED_EXECUTION)
5150
do
52-
#else
53-
for (int i=0; i<10000; i++)
54-
#endif
5551
{
5652
#if !defined(NO_MMU)
5753
try {
@@ -73,13 +69,8 @@ void Sh4_int_Run()
7369
l -= CPU_RATIO * 5; // an exception requires the instruction pipeline to drain, so approx 5 cycles
7470
}
7571
#endif
76-
#if !defined(TARGET_BOUNDED_EXECUTION)
77-
} while(sh4_int_bCpuRun);
7872

79-
sh4_int_bCpuRun=false;
80-
#else
81-
}
82-
#endif
73+
} while(sh4_int_bCpuRun);
8374
}
8475

8576
void Sh4_int_Stop()

libswirl/jit/backend/cpp/rec_cpp.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,7 @@ void rec_mainloop(void* v_cntx)
4242

4343
cycle_counter = 0;
4444

45-
#if !defined(TARGET_BOUNDED_EXECUTION)
4645
while (sh4_int_bCpuRun) {
47-
#else
48-
for (int i=0; i<10000; i++) {
49-
#endif
5046
cycle_counter = SH4_TIMESLICE;
5147
do {
5248
DynarecCodeEntryPtr rcb = bm_GetCode(ctx->cntx.pc);

libswirl/qt/Application.h

Lines changed: 0 additions & 105 deletions
This file was deleted.

libswirl/qt/GfxDebugger.h

Lines changed: 0 additions & 63 deletions
This file was deleted.

libswirl/qt/MainWindow.h

Lines changed: 0 additions & 149 deletions
This file was deleted.

0 commit comments

Comments
 (0)