mirror of
https://github.com/libretro/RetroArch
synced 2025-03-31 19:21:06 +00:00
Merge pull request #6158 from reswitched/master
[NSW] libtransistor updates
This commit is contained in:
commit
9ba42837d8
@ -69,9 +69,7 @@ static void *switch_init(const video_info_t *video,
|
|||||||
|
|
||||||
RARCH_LOG("loading switch gfx driver, width: %d, height: %d\n", video->width, video->height);
|
RARCH_LOG("loading switch gfx driver, width: %d, height: %d\n", video->width, video->height);
|
||||||
|
|
||||||
if (libtransistor_context.magic != LIBTRANSISTOR_CONTEXT_MAGIC)
|
if(has_initialized)
|
||||||
RARCH_LOG("running under CTU, skipping graphics init...\n");
|
|
||||||
else if(has_initialized)
|
|
||||||
RARCH_LOG("global graphics were already initialized; skipping...\n");
|
RARCH_LOG("global graphics were already initialized; skipping...\n");
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -219,12 +217,6 @@ static bool switch_frame(void *data, const void *frame,
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (libtransistor_context.magic != LIBTRANSISTOR_CONTEXT_MAGIC)
|
|
||||||
{
|
|
||||||
RARCH_LOG("running under CTU; skipping frame\n");
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (msg != NULL && strlen(msg) > 0)
|
if (msg != NULL && strlen(msg) > 0)
|
||||||
RARCH_LOG("message: %s\n", msg);
|
RARCH_LOG("message: %s\n", msg);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user