Changeset 555 for abuse/trunk/src/clisp.cpp
- Timestamp:
- Apr 29, 2011, 9:18:23 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
abuse/trunk/src/clisp.cpp
r527 r555 5 5 * 6 6 * This software was released into the Public Domain. As with most public 7 * domain software, no warranty is made or implied by Crack dot Com or8 * Jonathan Clark .7 * domain software, no warranty is made or implied by Crack dot Com, by 8 * Jonathan Clark, or by Sam Hocevar. 9 9 */ 10 10 11 #include "config.h" 11 #if defined HAVE_CONFIG_H 12 # include "config.h" 13 #endif 12 14 13 15 #include <string.h> … … 943 945 case 54 : 944 946 { 947 #if defined __CELLOS_LV2__ 948 /* FIXME: retrieve the PS3 account name */ 949 char const *cd = "Player"; 950 #else 945 951 char cd[150]; 946 getcwd(cd,100); 952 getcwd(cd, 100); 953 #endif 947 954 return LString::Create(cd); 948 955 } break; 949 956 case 55 : 950 { system(lstring_value(CAR(args)->Eval())); } break; 957 #if !defined __CELLOS_LV2__ 958 /* FIXME: this looks rather dangerous */ 959 system(lstring_value(CAR(args)->Eval())); 960 #endif 961 break; 951 962 case 56 : 952 963 { … … 2177 2188 case 276 : 2178 2189 { 2190 #if defined __CELLOS_LV2__ 2191 return 0; 2192 #else 2179 2193 if (!main_net_cfg) return 0; 2180 2194 return become_server(game_name); 2195 #endif 2181 2196 } break; 2182 2197 case 277 :
Note: See TracChangeset
for help on using the changeset viewer.