mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-03-06 10:27:13 +00:00
(cheevos) Get rid of a lot of macros - make it more understandable
This commit is contained in:
parent
4f16ff8c2e
commit
92a18e411c
1240
cheevos/cheevos.c
1240
cheevos/cheevos.c
File diff suppressed because it is too large
Load Diff
@ -37,11 +37,6 @@ Released under the CC0: https://creativecommons.org/publicdomain/zero/1.0/
|
||||
case __LINE__: ; \
|
||||
} while ( 0 )
|
||||
|
||||
#define CORO_STOP() \
|
||||
do { \
|
||||
return 0; \
|
||||
} while ( 0 )
|
||||
|
||||
/* The coroutine entry point, never use 0 as a label */
|
||||
#define CORO_BEGIN 0
|
||||
|
||||
@ -49,7 +44,7 @@ Released under the CC0: https://creativecommons.org/publicdomain/zero/1.0/
|
||||
#define CORO_SETUP( x ) \
|
||||
do { \
|
||||
( x )->step = CORO_BEGIN; \
|
||||
( x )->sp = 0; \
|
||||
( x )->sp = 0; \
|
||||
} while ( 0 )
|
||||
|
||||
/* A coroutine */
|
||||
@ -66,8 +61,6 @@ typedef struct
|
||||
unsigned i;
|
||||
unsigned j;
|
||||
unsigned k;
|
||||
int mapper;
|
||||
size_t romsize;
|
||||
size_t bytes;
|
||||
size_t count;
|
||||
size_t offset;
|
||||
|
Loading…
x
Reference in New Issue
Block a user