mirror of
https://github.com/PabloMK7/citra.git
synced 2025-09-11 05:10:05 +00:00
add wayland support with melonds/duckstation method
This commit is contained in:
parent
e26ceabfd1
commit
029a6bb72e
34 changed files with 10907 additions and 0 deletions
17
src/citra_qt/externals/duckstation/duckstation_compat.h
vendored
Normal file
17
src/citra_qt/externals/duckstation/duckstation_compat.h
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
#ifndef DUCKSTATION_COMPAT_H
|
||||
#define DUCKSTATION_COMPAT_H
|
||||
|
||||
#include "../types.h"
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
#define ALWAYS_INLINE __attribute__((always_inline)) inline
|
||||
|
||||
#define AssertMsg(cond, msg) assert(cond && msg)
|
||||
#define Assert(cond) assert(cond)
|
||||
|
||||
#define Panic(msg) assert(false && msg)
|
||||
|
||||
#define UnreachableCode() __builtin_unreachable()
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue