workaround ares state size being blown up, fix compilation issue in some gcc versions
This commit is contained in:
parent
25795d2372
commit
2989a73430
Binary file not shown.
|
@ -596,6 +596,7 @@ EXPORT bool Init(LoadData* loadData, ControllerType* controllers, bool isPal, bo
|
||||||
ares::Nintendo64::BobDeinterlace = bobDeinterlace;
|
ares::Nintendo64::BobDeinterlace = bobDeinterlace;
|
||||||
|
|
||||||
root->power(false);
|
root->power(false);
|
||||||
|
root->run(); // HACK, first frame dirties a ton of memory, so we emulate it then seal (this should be investigated, not sure why 60MBish of memory would be dirtied in a single frame?)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -210,7 +210,7 @@ auto CPU::checkFPUExceptions() -> bool {
|
||||||
|
|
||||||
#define CHECK_FPE_IMPL(type, operation, convert) ({ \
|
#define CHECK_FPE_IMPL(type, operation, convert) ({ \
|
||||||
fenv.clearExcept(); \
|
fenv.clearExcept(); \
|
||||||
type res = [&]() noinline -> type { return operation; }(); \
|
type res = [&]() noinline { return operation; }(); \
|
||||||
if (checkFPUExceptions<convert>()) return; \
|
if (checkFPUExceptions<convert>()) return; \
|
||||||
(res); \
|
(res); \
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue