mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-25 00:49:47 +00:00
(video_state_python.c) Cleanup
This commit is contained in:
parent
80d8607fd2
commit
2f545f410d
@ -315,9 +315,8 @@ py_state_t *py_state_new(const char *script,
|
||||
* isn't standardized across environments.
|
||||
* PyRun_SimpleFile() breaks on Windows because it's
|
||||
* compiled with MSVC. */
|
||||
|
||||
char *script_ = NULL;
|
||||
ssize_t len;
|
||||
char *script_ = NULL;
|
||||
bool ret = read_file(script, (void**)&script_, &len);
|
||||
if (!ret || len < 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user