1
0
Fork 0
forked from len0rd/rockbox

Lua fix dir string constants and pcm_play_pause & pcm_set_frequency

String constants were already expanded in the first macro
pcm functions were looking for stack position #1 when they needed stack pos #2

Change-Id: I7b4fb90953ab2395b77cbd550fdd257fafca6aae
This commit is contained in:
William Wilgus 2018-11-01 18:18:46 -04:00
parent be7a58c331
commit 9b385f37ef
2 changed files with 3 additions and 3 deletions

View file

@ -33,7 +33,7 @@
#endif
#define RB_CONSTANT(x) {#x, x}
#define RB_STRING_CONSTANT(x) RB_CONSTANT(x)
#define RB_STRING_CONSTANT(x) {#x, x}
struct lua_int_reg {
char const* name;