Compare commits

...

9 Commits

Author SHA1 Message Date
lizzie 929deab537 Trigger Build 2026-08-31 18:07:15 +00:00
lizzie 11086e19ce Trigger Build 2026-08-31 18:07:15 +00:00
lizzie 760afd1bf5 aaaaaa chromeos
Signed-off-by: lizzie <lizzie@eden-emu.dev>
2026-08-31 18:07:15 +00:00
lizzie dd66bdb22c bring back evil strings 2026-08-31 18:07:15 +00:00
lizzie 4db1ce2cf2 ok 2026-08-31 18:07:15 +00:00
lizzie bdccb1dc65 fix excepts 2026-08-31 18:07:15 +00:00
lizzie 1899bb0e7d Trigger Build 2026-08-31 18:07:15 +00:00
lizzie 8444677ed9 Trigger Build 2026-08-31 18:07:15 +00:00
lizzie 38bdbf4c4f fx 2026-08-31 18:07:15 +00:00
4 changed files with 8 additions and 9 deletions
+1 -2
View File
@@ -25,14 +25,13 @@
#include "common/container/unordered_map.h" #include "common/container/unordered_map.h"
#include "common/container/unordered_set.h" #include "common/container/unordered_set.h"
#include <boost/unordered_map.hpp> #include <boost/unordered_map.hpp>
#define XBYAK_NO_EXCEPTION 1
#define XBYAK_STD_UNORDERED_SET ::Common::unordered_set #define XBYAK_STD_UNORDERED_SET ::Common::unordered_set
#define XBYAK_STD_UNORDERED_MAP ::Common::unordered_map #define XBYAK_STD_UNORDERED_MAP ::Common::unordered_map
#define XBYAK_STD_UNORDERED_MULTIMAP boost::unordered_multimap #define XBYAK_STD_UNORDERED_MULTIMAP boost::unordered_multimap
#include <xbyak/xbyak.h> #include <xbyak/xbyak.h>
#include <xbyak/xbyak_util.h> #include <xbyak/xbyak_util.h>
#include <xbyak/xbyak.h>
namespace Common::X64 { namespace Common::X64 {
constexpr size_t RegToIndex(const Xbyak::Reg& reg) { constexpr size_t RegToIndex(const Xbyak::Reg& reg) {
+5 -1
View File
@@ -95,7 +95,6 @@ else()
-pedantic -pedantic
-Wno-missing-braces -Wno-missing-braces
-fno-rtti -fno-rtti
#-fno-exceptions
) )
if (CXX_GCC) if (CXX_GCC)
# GCC produces bogus -Warray-bounds warnings from xbyak headers for code paths that are not # GCC produces bogus -Warray-bounds warnings from xbyak headers for code paths that are not
@@ -113,6 +112,11 @@ else()
# Clang mistakenly blames CMake for using unused arguments during compilation # Clang mistakenly blames CMake for using unused arguments during compilation
list(APPEND DYNARMIC_CXX_FLAGS -Wno-unused-command-line-argument) list(APPEND DYNARMIC_CXX_FLAGS -Wno-unused-command-line-argument)
endif() endif()
# TODO: oaknut exceptions
# TODO: fix chromeOS
if ("x86_64" IN_LIST ARCHITECTURE AND NOT ANDROID)
list(APPEND DYNARMIC_CXX_FLAGS -fno-exceptions)
endif()
endif() endif()
if (NOT Boost_FOUND) if (NOT Boost_FOUND)
@@ -465,13 +465,8 @@ size_t BlockOfCode::GetTotalCodeSize() const {
} }
void* BlockOfCode::AllocateFromCodeSpace(size_t alloc_size) { void* BlockOfCode::AllocateFromCodeSpace(size_t alloc_size) {
if (size_ + alloc_size >= maxSize_) { ASSERT(size_ + alloc_size < maxSize_);
using Xbyak::Error;
XBYAK_THROW(Xbyak::ERR_CODE_IS_TOO_BIG);
}
EnsureMemoryCommitted(alloc_size); EnsureMemoryCommitted(alloc_size);
void* ret = getCurr<void*>(); void* ret = getCurr<void*>();
size_ += alloc_size; size_ += alloc_size;
memset(ret, 0, alloc_size); memset(ret, 0, alloc_size);
@@ -7,6 +7,7 @@
#include "common/container/unordered_map.h" #include "common/container/unordered_map.h"
#include "common/container/unordered_set.h" #include "common/container/unordered_set.h"
#include <boost/unordered_map.hpp> #include <boost/unordered_map.hpp>
#define XBYAK_NO_EXCEPTION 1
#define XBYAK_STD_UNORDERED_SET ::Common::unordered_set #define XBYAK_STD_UNORDERED_SET ::Common::unordered_set
#define XBYAK_STD_UNORDERED_MAP ::Common::unordered_map #define XBYAK_STD_UNORDERED_MAP ::Common::unordered_map
#define XBYAK_STD_UNORDERED_MULTIMAP boost::unordered_multimap #define XBYAK_STD_UNORDERED_MULTIMAP boost::unordered_multimap