mirror of
https://github.com/jessicanataliagta/PSPRecomp
synced 2026-10-03 18:31:01 -04:00
fix build memory blow-up and boot crash by removing AOT register caches
This commit is contained in:
@@ -135,7 +135,7 @@ static const std::uint16_t kEntryIds_recomp_unit_0227[4044] = {
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 100, 0, 0, 0, 0, 101,
|
||||
};
|
||||
void recomp_unit_0227_entry(Runtime &rt, AllegrexContext &ctx, std::uint16_t direct_entry_id, GuestMemory::AotFastView &aot_mem, AotHotRegisterCache & PSPRECOMP_RESTRICT hot_regs) {
|
||||
void recomp_unit_0227_entry(Runtime &rt, AllegrexContext &ctx, std::uint16_t direct_entry_id, GuestMemory::AotFastView &aot_mem) {
|
||||
std::uint32_t jump_target = 0u;
|
||||
std::uint32_t local_transfers = 0u;
|
||||
std::uint32_t local_pc = ctx.pc;
|
||||
@@ -4556,9 +4556,7 @@ L_08B93F2C:
|
||||
|
||||
void recomp_unit_0227(Runtime &rt, AllegrexContext &ctx) {
|
||||
auto aot_mem = rt.memory().aot_fast_view();
|
||||
AotHotRegisterCache hot_regs(ctx);
|
||||
recomp_unit_0227_entry(rt, ctx, 0u, aot_mem, hot_regs);
|
||||
hot_regs.flush_to(ctx);
|
||||
recomp_unit_0227_entry(rt, ctx, 0u, aot_mem);
|
||||
}
|
||||
|
||||
void register_generated_unit_227(Runtime &runtime) {
|
||||
|
||||
Reference in New Issue
Block a user