Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* === UCODE DECODER TO BIN === */
- #include <stdio.h>
- #include <stdlib.h>
- #include <inttypes.h>
- // Encrypt Patch code 05000119 for 5020 and equivalent"USAGE: %s output_file\n", argv[0]);
- fflush(stdout);
- }
- else {
- if ( ( pFile = fopen( argv[1] , "wb" ) ) != NULL ) {
- setvbuf(pFile, NULL, _IONBF, 0); // disable buffering
- fwrite(CpuF14MicrocodePatch05000119, sizeof(CpuF14MicrocodePatch05000119), 1, pFile);
- fflush(pFile);
- fclose (pFile);
- return 0;
- }
- else {
- fprintf(stdout, "ERROR: cant open %s\n", argv[0]);
- fflush(stdout);
- return 1;
- }
- }
- return 0;
- }
Add Comment
Please, Sign In to add comment